libvirt/tests/qemublocktestdata/xml2json/dir-fat-readonly.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

16 lines
241 B
JSON

{
"node-name": "node-f",
"read-only": true,
"driver": "raw",
"file": "node-s"
}
{
"driver": "vvfat",
"dir": "/var/somefiles",
"floppy": false,
"rw": false,
"node-name": "node-s",
"read-only": true,
"discard": "unmap"
}