diff options
author | Max Reitz <mreitz@redhat.com> | 2014-09-05 16:07:18 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:28 +0100 |
commit | a97c67ee6c1546b985c1048c7a1f9e4fc13d9ee1 (patch) | |
tree | 521747581a617c39595dde3341f7a90cf0ac9751 /tcg-runtime.c | |
parent | adb435522b86b3fca2324cb8c94e17b55ae071f1 (diff) |
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 'tcg-runtime.c')
0 files changed, 0 insertions, 0 deletions