[libvirt] [PATCH v3 10/20] Add a qemuMonitorGetMachines() method for QMP query-machines command

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


On Tue, Sep 25, 2012 at 19:00:03 +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Add a new qemuMonitorGetMachines() method to support invocation
> of the 'query-machines' JSON monitor command. No HMP equivalent
> is required, since this will only be present for QEMU >= 1.2
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_monitor.c      |  30 +++++++++++++
>  src/qemu/qemu_monitor.h      |  15 +++++++
>  src/qemu/qemu_monitor_json.c | 101 +++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_monitor_json.h |   4 ++
>  tests/qemumonitorjsontest.c  |  76 ++++++++++++++++++++++++++++++++
>  5 files changed, 226 insertions(+)

ACK

Jirka




More information about the libvir-list mailing list