]> Git Repo - qemu.git/commit - qemu-img.texi
doc: Preallocation does not require writing zeroes
authorMax Reitz <[email protected]>
Thu, 11 Jul 2019 13:29:35 +0000 (15:29 +0200)
committerMax Reitz <[email protected]>
Mon, 19 Aug 2019 15:13:26 +0000 (17:13 +0200)
commitfa27c478102a6b5d1c6b02c005607ad9404b915f
treebd5aa3c5380cf84989c41bffd1e7e3bf28cb212a
parent9c46f4a06d9d57bc9f357cec3e37de94e6068413
doc: Preallocation does not require writing zeroes

When preallocating an encrypted qcow2 image, it just lets the protocol
driver write data and then does not mark the clusters as zero.
Therefore, reading this image will yield effectively random data.

As such, we have not fulfilled the promise of always writing zeroes when
preallocating an image in a while.  It seems that nobody has really
cared, so change the documentation to conform to qemu's actual behavior.

Signed-off-by: Max Reitz <[email protected]>
Message-id: 20190711132935[email protected]
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Daniel P. BerrangĂ© <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Signed-off-by: Max Reitz <[email protected]>
docs/qemu-block-drivers.texi
qapi/block-core.json
qemu-img.texi
This page took 0.025872 seconds and 4 git commands to generate.