v2:
- Detect when migrate -b is compiled out [Eric]
- Switched the whole test to QMP for this, HMP is a bit hard to
deal with
Kevin Wolf (4):
block: Fix anonymous BBs in blk_root_inactivate()
migration: Inactivate images after .save_live_complete_precopy()
migration/block: Clean up BBs in block_save_complete()
qemu-iotests: Block migration test
block/block-backend.c | 2 +-
migration/block.c | 22 +++++--
migration/migration.c | 12 ++--
tests/qemu-iotests/183 | 143 +++++++++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/183.out | 46 +++++++++++++++
tests/qemu-iotests/group | 1 +
6 files changed, 215 insertions(+), 11 deletions(-)
create mode 100755 tests/qemu-iotests/183
create mode 100644 tests/qemu-iotests/183.out
--
1.8.3.1