libvirt/tests/qemublocktestdata/xml2json
Peter Krempa 2c4c347c4b qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain
To allow using -blockdev with blockjobs QEMU needs to reopen files in
read-write mode when modifying the backing chain. To achieve this we
need to use 'auto-read-only' for the backing files rather than the
normal 'read-only' property. That way qemu knows that the files need to
be reopened.

Note that the format drivers (e.g. qcow2) are still opened with the
read-only property enabled when being a member of the backing chain
since they are supposed to be immutable unless a block job is started.

QEMU v4.0 (since commit 23dece19da4) allows also dynamic behaviour for
auto-read-only which allows us to use sVirt as we only grant write
permissions to files when doing a blockjob.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-07-18 17:59:34 +02:00
..
block-raw-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
block-raw-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
block-raw-noopts.xml
block-raw-reservations-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
block-raw-reservations.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
block-raw-reservations.xml
dir-fat-cache-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
dir-fat-cache.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
dir-fat-cache.xml
dir-fat-floppy-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
dir-fat-floppy.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
dir-fat-floppy.xml
dir-fat-readonly-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
dir-fat-readonly.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
dir-fat-readonly.xml
file-backing_basic-aio_threads-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-aio_threads.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-aio_threads.xml
file-backing_basic-cache-directsync-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-directsync.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-directsync.xml
file-backing_basic-cache-none-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-none.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-none.xml
file-backing_basic-cache-unsafe-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-unsafe.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-unsafe.xml
file-backing_basic-cache-writeback-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-writeback.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-writeback.xml
file-backing_basic-cache-writethrough-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-writethrough.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-cache-writethrough.xml
file-backing_basic-detect-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-detect.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-detect.xml
file-backing_basic-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-noopts.xml
file-backing_basic-unmap-detect-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap-detect.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap-detect.xml
file-backing_basic-unmap-ignore-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap-ignore.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap-ignore.xml
file-backing_basic-unmap-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-backing_basic-unmap.xml
file-bochs-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-bochs-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-bochs-noopts.xml
file-cloop-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-cloop-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-cloop-noopts.xml
file-dmg-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-dmg-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-dmg-noopts.xml
file-ploop-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-ploop-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-ploop-noopts.xml
file-qcow2-backing-chain-encryption-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-encryption.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-encryption.xml
file-qcow2-backing-chain-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-noopts.xml
file-qcow2-backing-chain-unterminated-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-unterminated.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-qcow2-backing-chain-unterminated.xml
file-raw-aio_native-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-raw-aio_native.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-raw-aio_native.xml
file-raw-luks-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-raw-luks.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-raw-luks.xml
file-raw-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-raw-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-raw-noopts.xml
file-vdi-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-vdi-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-vdi-noopts.xml
file-vhd-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-vhd-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-vhd-noopts.xml
file-vpc-noopts-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
file-vpc-noopts.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
file-vpc-noopts.xml
network-nbd-tls-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
network-nbd-tls.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
network-nbd-tls.xml tests: qemublock: Test NBD with TLS in the JSON generator 2018-06-05 08:14:00 +02:00
network-qcow2-backing-chain-cache-unsafe-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
network-qcow2-backing-chain-cache-unsafe.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
network-qcow2-backing-chain-cache-unsafe.xml
network-qcow2-backing-chain-encryption_auth-srconly.json tests: qemublock: Add testing of pure disk source specification JSON generator 2019-07-18 17:59:34 +02:00
network-qcow2-backing-chain-encryption_auth.json qemu: block: Use 'auto-read-only' instead of 'read-only' for backing chain 2019-07-18 17:59:34 +02:00
network-qcow2-backing-chain-encryption_auth.xml
nodename-long-format.xml
nodename-long-protocol.xml