qcow2: Use qcow2_signal_corruption() for overlaps
commitadb435522b86b3fca2324cb8c94e17b55ae071f1
authorMax Reitz <mreitz@redhat.com>
Fri, 5 Sep 2014 14:07:17 +0000 (5 16:07 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:39:28 +0000 (22 11:39 +0100)
treea30aa6299f6a779aff3d5976286c409694f2cb09
parent85186ebdac7e183242deaa55d5049988de832be1
qcow2: Use qcow2_signal_corruption() for overlaps

Use the new function in case of a failed overlap check.

This changes output in case of corruption, so adapt iotest 060's
reference output accordingly.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Message-id: 1409926039-29044-4-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-refcount.c
tests/qemu-iotests/060.out