qemu-iotests/197: use more generic commands for formats other than qcow2
commitb87151a848b0019775bfddb16b79f5adcad3f36c
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Thu, 7 Sep 2023 22:07:18 +0000 (8 01:07 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 8 Sep 2023 01:32:02 +0000 (7 20:32 -0500)
treec994bb71c6c0a1f047d65f15eb9a631d9e6524ad
parent03a3a62fbd0aa5227e978eef3c67d3978aec9e5f
qemu-iotests/197: use more generic commands for formats other than qcow2

In the previous commit e2f938265e0 ("tests/qemu-iotests/197: add
testcase for CoR with subclusters") we've introduced a new testcase for
copy-on-read with subclusters.  Test 197 always forces qcow2 as the top
image, but allows backing image to be in any format.  That last test
case didn't meet these requirements, so let's fix it by using more
generic "qemu-io -c map" command.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Message-ID: <20230907220718.983430-1-andrey.drobyshev@virtuozzo.com>
Tested-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/197
tests/qemu-iotests/197.out