iotests: Test downgrading an image using a small L2 slice size
commit2ecec91110e605d3b2d3d15d6fb9beaf6c96ada6
authorAlberto Garcia <berto@igalia.com>
Mon, 5 Feb 2018 14:33:38 +0000 (5 16:33 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 13 Feb 2018 16:00:00 +0000 (13 17:00 +0100)
treede4d18e4636460ba9324fd79d42a09180be5065b
parent4450c39625d6ef4404f41bd1fda3793afd5ce5c0
iotests: Test downgrading an image using a small L2 slice size

expand_zero_clusters_in_l1() is used when downgrading qcow2 images
from v3 to v2 (compat=0.10). This is one of the functions that needed
more changes to support L2 slices, so this patch extends iotest 061 to
test downgrading a qcow2 image using a smaller slice size.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 3e5662dce5e4926c8fabbad4c0b9142b2a506dd4.1517840877.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/061
tests/qemu-iotests/061.out