diff options
| author | Daniel P. Berrangé | 2021-02-19 20:22:36 +0100 |
|---|---|---|
| committer | Daniel P. Berrangé | 2021-03-18 10:22:55 +0100 |
| commit | e67d8e2928200e24ecb47c7be3ea8270077f2996 (patch) | |
| tree | 648d4507b21ec20d89349b3ea22b838c7292f4ae /tests/qemu-iotests/246 | |
| parent | block: remove dirty bitmaps 'status' field (diff) | |
| download | qemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.tar.gz qemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.tar.xz qemu-e67d8e2928200e24ecb47c7be3ea8270077f2996.zip | |
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/246')
| -rwxr-xr-x | tests/qemu-iotests/246 | 3 |
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, \ |
