[libvirt] [PATCH 0/5] Combine various query-block json call paths

John Ferlan jferlan at redhat.com
Fri Sep 30 12:53:49 UTC 2016


Based off a recent review and discussion regarding adding a new field
to qemuDomainDiskInfo:

http://www.redhat.com/archives/libvir-list/2016-September/msg00193.html

I decided to take the plunge and rework the query-block code in order
to combine the various ways callers return the data and well hopefully
allow for an easier "future mechanism" to call the query-block returning
just the required/requested data for any caller (with a little bit of
code wrangling).

John Ferlan (5):
  qemu: Create common code for JSON "query-block" call
  qemu: Split out filling of JSONGetBlockInfo data
  qemu: Split out filling of JSONBlockStats data
  qemu: Split out filling of JSONDiskNameLookup data
  qemu: Combine the various ways to call query-block

 src/qemu/qemu_monitor_json.c | 345 ++++++++++++++++++++++++-------------------
 1 file changed, 193 insertions(+), 152 deletions(-)

-- 
2.7.4




More information about the libvir-list mailing list