[libvirt] [PATCH v3 13/20] Add a qemuMonitorGetEvents() method for QMP query-events command

Eric Blake eblake at redhat.com
Wed Sep 26 22:48:26 UTC 2012


On 09/25/2012 12:00 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Add a new qemuMonitorGetEvents() method to support invocation
> of the 'query-events' JSON monitor command. No HMP equivalent
> is required, since this will only be used when JSON is available
> 
> The existing qemuMonitorJSONCheckEvents() method is refactored
> to use this new method
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/qemu/qemu_monitor.c      |  22 ++++++++
>  src/qemu/qemu_monitor.h      |   2 +
>  src/qemu/qemu_monitor_json.c | 119 ++++++++++++++++++++++++++++++-------------
>  src/qemu/qemu_monitor_json.h |   3 ++
>  4 files changed, 110 insertions(+), 36 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120926/4d3e0cec/attachment-0001.sig>


More information about the libvir-list mailing list