mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 22:39:56 +00:00
b8240fe704
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>
14 lines
303 B
JSON
14 lines
303 B
JSON
{
|
|
"node-name": "0123456789ABCDEF0123456789ABCDE",
|
|
"read-only": false,
|
|
"driver": "raw",
|
|
"file": "0123456789ABCDEF0123456789ABCDE"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/i.img",
|
|
"node-name": "0123456789ABCDEF0123456789ABCDE",
|
|
"read-only": false,
|
|
"discard": "unmap"
|
|
}
|