Re: [Qemu-devel] [PATCH] qcow2: Remove wrong metadata overlap check

2013-10-09 Thread Kevin Wolf
Am 09.10.2013 um 14:41 hat Max Reitz geschrieben: > In qcow2_write_compressed, if the compression fails, a normal cluster is > written to disk. This is done through bdrv_write on the qcow2 BDS > itself (using the guest offset), thus it is wrong to do a metadata > overlap check before. > > Signed-o

[Qemu-devel] [PATCH] qcow2: Remove wrong metadata overlap check

2013-10-09 Thread Max Reitz
In qcow2_write_compressed, if the compression fails, a normal cluster is written to disk. This is done through bdrv_write on the qcow2 BDS itself (using the guest offset), thus it is wrong to do a metadata overlap check before. Signed-off-by: Max Reitz --- block/qcow2.c | 8 1 file chan