]> xenbits.xensource.com Git - qemu-xen.git/commit
qcow2: Assert that expand_zero_clusters_in_l1() does not support subclusters
authorAlberto Garcia <berto@igalia.com>
Fri, 10 Jul 2020 16:13:15 +0000 (18:13 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 25 Aug 2020 08:20:15 +0000 (10:20 +0200)
commit7bbb59202a538b12df5840f250899ac3ec39a069
tree5c4553f0bd93e72d1e63cbb3ab45f109f5024893
parent2118771ddf27dbfd6fb0b1e611423aa6cd72e160
qcow2: Assert that expand_zero_clusters_in_l1() does not support subclusters

This function is only used by qcow2_expand_zero_clusters() to
downgrade a qcow2 image to a previous version. This would require
transforming all extended L2 entries into normal L2 entries but this
is not a simple task and there are no plans to implement this at the
moment.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <15e65112b4144381b4d8c0bdf8fb76b0d813e3d1.1594396418.git.berto@igalia.com>
[mreitz: Fixed comment style]
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-cluster.c
tests/qemu-iotests/061
tests/qemu-iotests/061.out