libvirt/tests/qemublocktestdata/xml2json/file-ploop-noopts.json
Peter Krempa b8240fe704 qemu: block: Don't nest storage layer properties into format layer
Reference the storage via node name rather than inlining it. This is
the approach that will be used with -blockdev/blockdev-add since it
allows more control and is more future proof.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2018-05-23 13:18:23 +02:00

14 lines
216 B
JSON

{
"node-name": "test1",
"read-only": false,
"driver": "parallels",
"file": "test2"
}
{
"driver": "file",
"filename": "/path/to/i.img",
"node-name": "test2",
"read-only": false,
"discard": "unmap"
}