Re: [Qemu-devel] [PATCH] doc: Preallocation does not require writing zeroes

2019-08-15 Thread Max Reitz
On 11.07.19 15:29, Max Reitz wrote: > 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

Re: [Qemu-devel] [PATCH] doc: Preallocation does not require writing zeroes

2019-07-11 Thread Maxim Levitsky
On Thu, 2019-07-11 at 15:29 +0200, Max Reitz wrote: > 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 p

Re: [Qemu-devel] [PATCH] doc: Preallocation does not require writing zeroes

2019-07-11 Thread Daniel P . Berrangé
On Thu, Jul 11, 2019 at 03:29:35PM +0200, Max Reitz wrote: > 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 fulfille

Re: [Qemu-devel] [PATCH] doc: Preallocation does not require writing zeroes

2019-07-11 Thread Eric Blake
On 7/11/19 8:29 AM, Max Reitz wrote: > 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 alway

[Qemu-devel] [PATCH] doc: Preallocation does not require writing zeroes

2019-07-11 Thread Max Reitz
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