[libvirt] [PATCH 01/24] qemu: monitor: Extract call of 'query-blockstats' and add new API for it

Eric Blake eblake at redhat.com
Wed Jul 26 11:58:28 UTC 2017


On 07/26/2017 05:00 AM, Peter Krempa wrote:
> Allow getting the raw data from query-blockstats, so that we can use it
> to detect the backing chain later on.
> ---
>  src/qemu/qemu_monitor.c      | 15 +++++++++++++++
>  src/qemu/qemu_monitor.h      |  2 ++
>  src/qemu/qemu_monitor_json.c | 44 +++++++++++++++++++++++++++++---------------
>  src/qemu/qemu_monitor_json.h |  2 ++
>  4 files changed, 48 insertions(+), 15 deletions(-)

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

Basically, a refactoring that splits out a useful subset of the existing
qemuMonitorJSONGetAllBlockStatsInfo()

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

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


More information about the libvir-list mailing list