I'm not unreasonable ;-) - making the suggested alterations from the review
and NACK of v2/v1 which combined the for loops as well.
v2:
http://www.redhat.com/archives/libvir-list/2016-September/msg01483.html
Changes - new patch 1, 3, 4
Alteration to patch 1 of previous series to use the new Steal API
John Ferlan (4):
util: Introduce virJSONValueObjectStealArray
qemu: Create common code for JSON "query-block" call
qemu: Create helper qemuMonitorJSONGetBlockDev
qemu: Create helper qemuMonitorJSONGetBlockDevDevice
src/libvirt_private.syms | 1 +
src/qemu/qemu_monitor_json.c | 157 ++++++++++++++++++++++---------------------
src/util/virjson.c | 43 ++++++++++++
src/util/virjson.h | 2 +
4 files changed, 125 insertions(+), 78 deletions(-)
--
2.7.4