]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add a qemuMonitorGetVersion() method for QMP query-version command
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 15 Aug 2012 14:04:09 +0000 (15:04 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Sep 2012 09:46:34 +0000 (10:46 +0100)
commit3dce0a829a4baeca6053d0e96378b6af6dbb662a
tree09ce26300a8871ae849722da5a8d08f2b68c70d2
parent1517099c7b75d0b45b15f3c14a9dde4643e99bb1
Add a qemuMonitorGetVersion() method for QMP query-version command

Add a new qemuMonitorGetVersion() method to support invocation
of the 'query-version' JSON monitor command. No HMP equivalent
is provided, since this will only be used for QEMU >= 1.2

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c