[libvirt] [PATCH v3 09/20] Add a qemuMonitorGetVersion() method for QMP query-version command

Jiri Denemark jdenemar at redhat.com
Wed Sep 26 12:10:57 UTC 2012


On Tue, Sep 25, 2012 at 19:00:02 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> 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 at redhat.com>
> ---
>  src/qemu/qemu_monitor.c      |  24 ++++++++++
>  src/qemu/qemu_monitor.h      |   7 +++
>  src/qemu/qemu_monitor_json.c |  78 +++++++++++++++++++++++++++++++++
>  src/qemu/qemu_monitor_json.h |   7 +++
>  tests/qemumonitorjsontest.c  | 102 +++++++++++++++++++++++++++++++++++++++++++
>  5 files changed, 218 insertions(+)

ACK

Jirka




More information about the libvir-list mailing list