mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-10 07:20:02 +00:00
84df50dc87
Use the same ordering of the relevant fields as we do for the format layer -blockdev so that later they can be refactored without test fallout. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
96 lines
1.6 KiB
JSON
96 lines
1.6 KiB
JSON
{
|
|
"node-name": "node-a-f",
|
|
"read-only": false,
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
},
|
|
"driver": "qcow2",
|
|
"file": "node-a-s",
|
|
"backing": "node-b-f"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/a",
|
|
"node-name": "node-a-s",
|
|
"auto-read-only": true,
|
|
"discard": "unmap",
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
}
|
|
}
|
|
{
|
|
"node-name": "node-b-f",
|
|
"read-only": true,
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
},
|
|
"driver": "qcow2",
|
|
"file": "node-b-s",
|
|
"backing": "node-c-f"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/b",
|
|
"node-name": "node-b-s",
|
|
"auto-read-only": true,
|
|
"discard": "unmap",
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
}
|
|
}
|
|
{
|
|
"node-name": "node-c-f",
|
|
"read-only": true,
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
},
|
|
"driver": "qcow2",
|
|
"file": "node-c-s",
|
|
"backing": "node-d-f"
|
|
}
|
|
{
|
|
"driver": "gluster",
|
|
"volume": "images",
|
|
"path": "c",
|
|
"server": [
|
|
{
|
|
"type": "inet",
|
|
"host": "test.org",
|
|
"port": "24007"
|
|
}
|
|
],
|
|
"node-name": "node-c-s",
|
|
"auto-read-only": true,
|
|
"discard": "unmap",
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
}
|
|
}
|
|
{
|
|
"node-name": "node-d-f",
|
|
"read-only": true,
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
},
|
|
"driver": "raw",
|
|
"file": "node-d-s"
|
|
}
|
|
{
|
|
"driver": "file",
|
|
"filename": "/var/lib/libvirt/images/d",
|
|
"node-name": "node-d-s",
|
|
"auto-read-only": true,
|
|
"discard": "unmap",
|
|
"cache": {
|
|
"direct": false,
|
|
"no-flush": true
|
|
}
|
|
}
|