libvirt/tests/qemublocktestdata
Peter Krempa 47a12f2752 qemu: block: Use simple backing stores string format if possible
In case when the backing store can be represented with something
simpler such as a URI we can use it rather than falling back to the
json: pseudo-protocol.

In cases when it's not worth it (e.g. with the old ugly NBD or RBD
strings) let's switch to json.

The function is exported as we'll need it when overwriting the ugly
strings qemu would come up with during blockjobs.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-07-25 13:21:32 +02:00
..
imagecreate qemu: block: Use simple backing stores string format if possible 2019-07-25 13:21:32 +02:00
xml2json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00