]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Implement data-file-raw create option
authorKevin Wolf <kwolf@redhat.com>
Fri, 22 Feb 2019 13:29:38 +0000 (14:29 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:46 +0000 (12:26 +0100)
commit6c3944dc6219cefef6a968cf300d227fe3f92388
treea29c719a0dd5e302ee767a839512cd388d940f93
parent9b890bdcb6ec11868da92c1daeb51c69d9483da8
qcow2: Implement data-file-raw create option

Provide an option to force QEMU to always keep the external data file
consistent as a standalone read-only raw image.

At the moment, this means making sure that write_zeroes requests are
forwarded to the data file instead of just updating the metadata, and
checking that no backing file is used.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2.c
block/qcow2.h
include/block/block_int.h
qapi/block-core.json
tests/qemu-iotests/082.out