g_autoptr(virStorageSource) xmlsrc = NULL;
g_autoptr(virStorageSource) jsonsrc = NULL;
g_auto(virBuffer) debug = VIR_BUFFER_INITIALIZER;
- unsigned int backendpropsflags = 0;
+ unsigned int backendpropsflags = QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_TARGET_ONLY;
if (data->legacy)
backendpropsflags |= QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_LEGACY;
}
if (!(jsonsrcout = qemuBlockStorageSourceGetBackendProps(src,
- QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_AUTO_READONLY))) {
+ QEMU_BLOCK_STORAGE_SOURCE_BACKEND_PROPS_TARGET_ONLY))) {
fprintf(stderr, "failed to format disk source json\n");
return -1;
}
"driver": "https",
"url": "https://test.host:443/whatever.img",
"sslverify": false,
+ "cookie": "some_cookie=\"some_value_or_whatever\"",
"timeout": 2000,
- "readahead": 65536,
- "auto-read-only": true,
- "discard": "unmap"
+ "readahead": 65536
}