summaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/246
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qemu-iotests/246')
-rwxr-xr-xtests/qemu-iotests/2463
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemu-iotests/246 b/tests/qemu-iotests/246
index fa3102c546..5932a0e8a9 100755
--- a/tests/qemu-iotests/246
+++ b/tests/qemu-iotests/246
@@ -30,7 +30,8 @@ gran_large = 128 * 1024
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, \