]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Extract the top level format node when querying disks
authorPeter Krempa <pkrempa@redhat.com>
Thu, 23 Feb 2017 18:36:52 +0000 (19:36 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Mar 2017 08:35:19 +0000 (10:35 +0200)
commit2780bcd9f88b3859158d4502b583574eb000045c
tree535ebd95137e54b97f7772837c60ff8d544851fd
parentb0aa088fad999decce4b15d7a3eef624228be30e
qemu: monitor: Extract the top level format node when querying disks

To allow matching the node names gathered via 'query-named-block-nodes'
we need to query and then use the top level nodes from 'query-block'.
Add the data to the structure returned by qemuMonitorGetBlockInfo.
src/qemu/qemu_domain.h
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c