]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Fix v3 snapshot table entry compliancy
authorMax Reitz <mreitz@redhat.com>
Fri, 11 Oct 2019 15:28:12 +0000 (17:28 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 28 Oct 2019 10:54:09 +0000 (11:54 +0100)
commite40e6e88f6c0ac73ba2bf680d4f0e46378c6d0de
treed930eff2553afa6cd0ad046df3223d9ec5e03280
parentd2b1d1ec734a847ba5d4fba4341a851ec1741d0a
qcow2: Fix v3 snapshot table entry compliancy

qcow2 v3 images require every snapshot table entry to have at least 16
bytes of extra data.  If they do not, let qemu-img check -r all fix it.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191011152814.14791-15-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-snapshot.c