aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/236
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2021-02-19 19:22:36 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2021-03-18 09:22:55 +0000
commite67d8e2928200e24ecb47c7be3ea8270077f2996 (patch)
tree648d4507b21ec20d89349b3ea22b838c7292f4ae /tests/qemu-iotests/236
parent81cbfd5088690c53541ffd0d74851c8ab055a829 (diff)
downloadqemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.zip
qemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.tar.gz
qemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.tar.bz2
block: remove 'dirty-bitmaps' field from 'BlockInfo' struct
The same data is available in the 'BlockDeviceInfo' struct. Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/236')
-rwxr-xr-xtests/qemu-iotests/2362
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/236 b/tests/qemu-iotests/236
index f6c4451..20419bb 100755
--- a/tests/qemu-iotests/236
+++ b/tests/qemu-iotests/236
@@ -39,7 +39,7 @@ overwrite = [("0xab", "0", "64k"), # Full overwrite
def query_bitmaps(vm):
res = vm.qmp("query-block")
- return { "bitmaps": { device['device']: device.get('dirty-bitmaps', []) for
+ return { "bitmaps": { device['device']: device.get('inserted', {}).get('dirty-bitmaps', []) for
device in res['return'] } }
with iotests.FilePath('img') as img_path, \