libvirt/tests/qemublocktestdata/jsontojson/curl-libguestfs-out.json
Peter Krempa b9a5541b49 qemublocktest: Use "target only" mode in 'testJSONtoJSON' and 'testBackingXMLjsonXML'
Both tests pass a disk source definition which didn't go through the
preparation steps and thus contains only the target information that
were originally present, thus we should be using the
QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_TARGET_ONLY flag.

For the same reason QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_AUTO_READONLY
used in 'testJSONtoJSON' doesn't make sense.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2023-10-26 09:02:23 +02:00

9 lines
188 B
JSON

{
"driver": "https",
"url": "https://test.host:443/whatever.img",
"sslverify": false,
"cookie": "some_cookie=\"some_value_or_whatever\"",
"timeout": 2000,
"readahead": 65536
}