[libvirt] [PATCH 04/19] qemu: monitor: Extract internals of qemuMonitorJSONBlockGetNamedNodeData

Eric Blake eblake at redhat.com
Thu Dec 12 18:56:43 UTC 2019


On 12/12/19 11:18 AM, Peter Krempa wrote:
> For testing purposes it will be beneficial to be able to parse the data
> from JSON directly rather than trying to simulate the monitor. Extract
> the worker bits and export them.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_monitor_json.c | 18 +++++++++++++-----
>   src/qemu/qemu_monitor_json.h |  3 +++
>   2 files changed, 16 insertions(+), 5 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list