The conversion to proper structures in qemu 2.9 lead to a change in the JSON
pseudo protocol fields, which made them unknown to libvirt.
This patchset fixes and refactors a few helpers and then adds the new format
to the backing store string parser.
Peter Krempa (10):
util: storage: Output parsed network backing store string to debug log
util: storage: Add missing return to
virStorageSourceParseBackingJSONGluster
util: storage: make virStorageSourceParseBackingJSONGlusterHost
universal
util: storage: Split out parsing of TCP network host from JSON
pseudoprotocol
util: storage: Report errors when source host data is missing
util: storage: Add JSON parser for new options in iSCSI protocol
util: storage: adapt to changes in JSON format for NBD
util: storage: adapt to changes in JSON format for ceph/rbd
util: storage: adapt to changes in JSON format for ssh
util: storage: adapt to changes in JSON format for sheepdog
src/util/virstoragefile.c | 256 ++++++++++++++++++++++++++++++++++++----------
tests/virstoragetest.c | 62 +++++++++++
2 files changed, 266 insertions(+), 52 deletions(-)
--
2.12.2