mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +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>
23 lines
349 B
JSON
23 lines
349 B
JSON
{
|
|
"node-name": "test1",
|
|
"read-only": false,
|
|
"cache": {
|
|
"direct": true,
|
|
"no-flush": false
|
|
},
|
|
"driver": "raw",
|
|
"file": "test2"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/path/to/i.img",
|
|
"aio": "native",
|
|
"node-name": "test2",
|
|
"cache": {
|
|
"direct": true,
|
|
"no-flush": false
|
|
},
|
|
"read-only": false,
|
|
"discard": "unmap"
|
|
}
|