On 03/15/2017 11:37 AM, Peter Krempa wrote: > Add monitor tooling for calling query-named-block-nodes. The monitor > returns the data as the raw JSON array that is returned from the > monitor. > > Unfortunately the logic to extract the node names for a complete backing > chain will be so complex that I won't be able to extract any meaningful > subset of the data in the monitor code. Indeed. My recollection was that query-named-block-nodes is great for getting information if you already know a node name, but that you have to resort to other commands if you need to learn a node name (of course, it gets easier if libvirt actually assigns node names rather than relying on qemu - but that's what blockdev-add integration is all about). > --- > src/qemu/qemu_monitor.c | 11 +++++++++++ > src/qemu/qemu_monitor.h | 1 + > src/qemu/qemu_monitor_json.c | 26 ++++++++++++++++++++++++++ > src/qemu/qemu_monitor_json.h | 3 +++ > 4 files changed, 41 insertions(+) > ACK -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list