summaryrefslogtreecommitdiffstats
path: root/block/qcow2-snapshot.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2013-10-09 14:41:28 +0200
committerKevin Wolf <kwolf@redhat.com>2013-10-11 16:49:59 +0200
commitf9bff971436b5924ca3c3203c6a3dcd6437bd430 (patch)
treef95d695b714871789c721066411ed6343e7ec15e /block/qcow2-snapshot.c
parent9e3f08923a14ba0655c6797edd9ffef44bb8cbf2 (diff)
downloadhqemu-f9bff971436b5924ca3c3203c6a3dcd6437bd430.zip
hqemu-f9bff971436b5924ca3c3203c6a3dcd6437bd430.tar.gz
qcow2: Remove wrong metadata overlap check
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 <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2-snapshot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud