dump-guest-memory: Add blocker for migration
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 4 repliesIn review
- v23 patches 7 repliesSuperseded
- v12 patches 10 repliesSuperseded
Changes in v3 from the cover letter
- Patch 3: in qmp_dump_guest_memory(), keeps the RUN_STATE_INMIGRATE check [Marc-Andre]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | migration: Make migration blocker work for snapshots toomigration/ | +8 | 1 reply | |
| 2/3 | migration: Add migrate_add_blocker_internal()include/ migration/ | +29 | 0 replies | |
| 3/3 | dump-guest-memory: Block live migrationdump/ | +19 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau | Juan Quintela |
|---|---|---|
| 1/3 | R-b | R-b |
| 2/3 | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] dump-guest-memory: Add blocker for migration
v3:
- Patch 3: in qmp_dump_guest_memory(), keeps the RUN_STATE_INMIGRATE check [Marc-Andre]
v2:
- One more patch: "migration: Make migration blocker work for snapshots too"
- Move register of migration blocker to be before dump_init [Marc-Andre]
- Collected r-bs
Both dump-guest-memory and live migration have vm state cached internally. Allowing them to happen together means the vm state can be messed up. Simply block live migration for dump-guest-memory.
One trivial thing to mention is we should still allow dump-guest-memory even if -only-migratable is specified, because that flag should majorly be used to guarantee not adding devices that will block migration by accident. Dump guest memory is not like that - it'll only block for the seconds when it's dumping.
Thanks,
Peter Xu (3):
migration: Make migration blocker work for snapshots too
migration: Add migrate_add_blocker_internal()
dump-guest-memory: Block live migration
dump/dump.c | 19 +++++++++++++++++++ include/migration/blocker.h | 16 ++++++++++++++++ migration/migration.c | 24 +++++++++++++++--------- 3 files changed, 50 insertions(+), 9 deletions(-)
Signature · 1 line
2.31.1