include/block/block.h | 1 - block/block-backend.c | 11 ++ block/qcow2.c | 58 +++++++++- tests/qemu-iotests/031 | 11 +- tests/qemu-iotests/036 | 6 +- tests/qemu-iotests/039 | 22 ++-- tests/qemu-iotests/044 | 8 +- tests/qemu-iotests/044.out | 1 + tests/qemu-iotests/051 | 9 +- tests/qemu-iotests/060 | 22 ++-- tests/qemu-iotests/060.out | 2 +- tests/qemu-iotests/061 | 42 ++++---- tests/qemu-iotests/061.out | 12 +-- tests/qemu-iotests/065 | 19 ++-- tests/qemu-iotests/082.out | 14 +-- tests/qemu-iotests/112 | 3 +- tests/qemu-iotests/137 | 2 +- tests/qemu-iotests/149.out | 21 ---- tests/qemu-iotests/163 | 3 +- tests/qemu-iotests/165 | 3 +- tests/qemu-iotests/196 | 3 +- tests/qemu-iotests/198.out | 4 +- tests/qemu-iotests/206.out | 10 +- tests/qemu-iotests/209 | 7 +- tests/qemu-iotests/209.out | 2 + tests/qemu-iotests/210 | 8 +- tests/qemu-iotests/214 | 2 +- tests/qemu-iotests/237.out | 3 - tests/qemu-iotests/242 | 3 +- tests/qemu-iotests/242.out | 10 +- tests/qemu-iotests/246 | 3 +- tests/qemu-iotests/254 | 3 +- tests/qemu-iotests/255.out | 4 - tests/qemu-iotests/260 | 3 +- tests/qemu-iotests/274 | 3 +- tests/qemu-iotests/274.out | 39 +------ tests/qemu-iotests/280.out | 1 - tests/qemu-iotests/281 | 3 +- tests/qemu-iotests/287 | 8 +- tests/qemu-iotests/290 | 2 +- tests/qemu-iotests/296.out | 10 +- tests/qemu-iotests/302 | 4 +- tests/qemu-iotests/302.out | 7 +- tests/qemu-iotests/303 | 26 +++-- tests/qemu-iotests/303.out | 30 +++++- tests/qemu-iotests/common.filter | 8 ++ tests/qemu-iotests/common.rc | 22 ++++ tests/qemu-iotests/iotests.py | 99 +++++++++++------ .../tests/migrate-bitmaps-postcopy-test | 3 +- tests/qemu-iotests/tests/migrate-bitmaps-test | 3 +- .../qemu-iotests/tests/migration-permissions | 101 ++++++++++++++++++ .../tests/migration-permissions.out | 5 + .../tests/mirror-ready-cancel-error | 7 +- .../tests/remove-bitmap-from-backing | 3 +- 54 files changed, 483 insertions(+), 236 deletions(-) create mode 100755 tests/qemu-iotests/tests/migration-permissions create mode 100644 tests/qemu-iotests/tests/migration-permissions.out