aboutsummaryrefslogtreecommitdiffstats
path: root/QMP/vm-info
diff options
context:
space:
mode:
Diffstat (limited to 'QMP/vm-info')
-rwxr-xr-xQMP/vm-info1
1 files changed, 1 insertions, 0 deletions
diff --git a/QMP/vm-info b/QMP/vm-info
index 8ebaeb38c..be5b03843 100755
--- a/QMP/vm-info
+++ b/QMP/vm-info
@@ -24,6 +24,7 @@ def main():
qemu = qmp.QEMUMonitorProtocol(argv[1])
qemu.connect()
+ qemu.send("qmp_capabilities")
for cmd in [ 'version', 'kvm', 'status', 'uuid', 'balloon' ]:
print cmd + ': ' + str(qemu.send('query-' + cmd))