Skip to content

Block migration (migrate -b) fixes

Kevin Wolf qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v24 patches 8 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Restricted test to formats without migration blockers [Jeff]
- Added timeout for migration completion in test [Jeff]
- Removed remaining tabs copied from another test case [Eric]
- Updated reference output (SHUTDOWN events) after rebase

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: Fix anonymous BBs in blk_root_inactivate()block/block-backend.c+1 -10 replies
2/4migration: Inactivate images after .save_live_complete_precopy()migration/migration.c+7 -50 replies
3/4migration/block: Clean up BBs in block_save_complete()migration/block.c+17 -50 replies
4/4qemu-iotests: Block migration testtests/qemu-iotests/183 tests/qemu-iotests/183.out tests/qemu-iotests/group+187 -03 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchFam ZhengJuan QuintelaEric BlakeJeff Cody
1/4R-b R-b R-b
2/4R-b R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 0/4] Block migration (migrate -b) fixes

v3:
- Restricted test to formats without migration blockers [Jeff]
- Added timeout for migration completion in test [Jeff]
- Removed remaining tabs copied from another test case [Eric]
- Updated reference output (SHUTDOWN events) after rebase

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     | 140 +++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/183.out |  46 +++++++++++++++
 tests/qemu-iotests/group   |   1 +
 6 files changed, 212 insertions(+), 11 deletions(-)
 create mode 100755 tests/qemu-iotests/183
 create mode 100644 tests/qemu-iotests/183.out
Signature · 1 line
1.8.3.1