libvirt/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback.json
Peter Krempa b6545bcec1 qemublocktest: Convert all 'gluster' instances to 'nbd' in 'xml2json' cases
Gluster will be deprecated in the upcoming qemu version thus we need to
replace the network protocol by something which will stay supported so
that we can keep the tests around.

Convert all cases referencing 'gluster' to 'nbd'.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
2024-10-16 14:39:08 +02:00

93 lines
1.5 KiB
JSON

{
"node-name": "node-a-f",
"read-only": false,
"cache": {
"direct": false,
"no-flush": false
},
"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": false
}
}
{
"node-name": "node-b-f",
"read-only": true,
"cache": {
"direct": false,
"no-flush": false
},
"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": false
}
}
{
"node-name": "node-c-f",
"read-only": true,
"cache": {
"direct": false,
"no-flush": false
},
"driver": "qcow2",
"file": "node-c-s",
"backing": "node-d-f"
}
{
"driver": "nbd",
"server": {
"type": "inet",
"host": "test.org",
"port": "10809"
},
"export": "images/c",
"node-name": "node-c-s",
"auto-read-only": true,
"discard": "unmap",
"cache": {
"direct": false,
"no-flush": false
}
}
{
"node-name": "node-d-f",
"read-only": true,
"cache": {
"direct": false,
"no-flush": false
},
"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": false
}
}