add query vm by agent version