]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Add monitor infrastructure for query-named-block-nodes
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Feb 2017 13:59:40 +0000 (14:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Mar 2017 08:35:19 +0000 (10:35 +0200)
commitd92d7f6b52dc5126d19239e4ebf6f84d6b8964f1
treec784b651a8a8b57ac063fb3ab4f7936034daa74e
parente2b05c9a8deb978879c9d7999d8532b80f795e0a
qemu: monitor: Add monitor infrastructure for query-named-block-nodes

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.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h