summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMax Reitz2014-09-05 16:07:18 +0200
committerStefan Hajnoczi2014-09-22 12:39:28 +0200
commita97c67ee6c1546b985c1048c7a1f9e4fc13d9ee1 (patch)
tree521747581a617c39595dde3341f7a90cf0ac9751 /tests
parentqcow2: Use qcow2_signal_corruption() for overlaps (diff)
downloadqemu-a97c67ee6c1546b985c1048c7a1f9e4fc13d9ee1.tar.gz
qemu-a97c67ee6c1546b985c1048c7a1f9e4fc13d9ee1.tar.xz
qemu-a97c67ee6c1546b985c1048c7a1f9e4fc13d9ee1.zip
qcow2: Check L1/L2/reftable entries for alignment
Offsets taken from the L1, L2 and refcount tables are generally assumed to be correctly aligned. However, this cannot be guaranteed if the image has been written to by something different than qemu, thus check all offsets taken from these tables for correct cluster alignment. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1409926039-29044-5-git-send-email-mreitz@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions