migration: Remove QEMUFileHooks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 1 replyIn review
- v216 patches 3 repliesSuperseded
- v119 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- fix rdma_migration to reset clearly (thanks danp)
- redo the cherks for migration/rdma
- rebased on top of the counters series:
[PATCH 00/21] Migration: More migration atomic counters
Based-on: Message-Id: <[email protected]>
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | migration: Create migrate_rdma()migration/ migration/ migration/ +2 more | +15 | 0 replies | |
| 2/10 | migration/rdma: Unfold ram_control_before_iterate()migration/ migration/ migration/ +2 more | +22 | 0 replies | |
| 3/10 | migration/rdma: Unfold ram_control_after_iterate()migration/ migration/ migration/ +2 more | +18 | 0 replies | |
| 4/10 | migration/rdma: Remove all uses of RAM_CONTROL_HOOKmigration/ migration/ migration/ +1 more | +11 | 0 replies | |
| 5/10 | migration/rdma: Unfold hook_ram_load()migration/ migration/ migration/ +2 more | +15 | 0 replies | |
| 6/10 | migration/rdma: Create rdma_control_save_page()migration/ migration/ migration/ +2 more | +27 | 0 replies | |
| 7/10 | qemu-file: Remove QEMUFileHooksmigration/ migration/ migration/ | +0 | 0 replies | |
| 8/10 | migration/rdma: Move rdma constants from qemu-file.h to rdma.hmigration/ migration/ migration/ | +17 | 0 replies | |
| 9/10 | migration/rdma: Remove qemu_ prefix from exported functionsmigration/ migration/ migration/ +1 more | +46 | 0 replies | |
| 10/10 | migration/rdma: Check sooner if we are in postcopy for save_page()migration/ | +1 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Peter Xu |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/10] migration: Remove QEMUFileHooks
Hi
Changes in v3:
- fix rdma_migration to reset clearly (thanks danp)
- redo the cherks for migration/rdma
- rebased on top of the counters series:
[PATCH 00/21] Migration: More migration atomic counters
Based-on: Message-Id: <[email protected]>
Please, review.
Changes in v2:
- rebased on top of migration-20230428 pull (second try)
- several of the patches on the PULL request
- make clean that we don't use rdma code when we don't use rdma
- create migrate_rdma() to check if we are in rdma migration.
There is no hope for this code. I am trying to cleanup the rest of rdma calls, but the code is convoluted as hell. And it lies with the ram counters as crazy.
Please review.
In this series (v1):
- QEMUFileHooks only had a single user, RDMA migration. Just remove the hooks and create stubs for when RDMA is not compiled in.
- This implies that we have to move all the operations from migration/qemu-file.c to migration/rdma.c.
- I now we can still simplify rdma_control_save_page(), but I don't have an easy setup for testing.
- Yes, the goal of the whole operations is to be able to move ram_file_limit from qemu-file to migration.c.
Please review.
Thanks, Juan.
Juan Quintela (10):
migration: Create migrate_rdma()
migration/rdma: Unfold ram_control_before_iterate() migration/rdma: Unfold ram_control_after_iterate() migration/rdma: Remove all uses of RAM_CONTROL_HOOK migration/rdma: Unfold hook_ram_load()
migration/rdma: Create rdma_control_save_page()
qemu-file: Remove QEMUFileHooks
migration/rdma: Move rdma constants from qemu-file.h to rdma.h migration/rdma: Remove qemu_ prefix from exported functions migration/rdma: Check sooner if we are in postcopy for save_page()
migration/migration.c | 1 + migration/migration.h | 3 + migration/options.c | 7 +++ migration/options.h | 1 + migration/qemu-file.c | 61 +-------------------- migration/qemu-file.h | 49 ----------------- migration/ram.c | 50 +++++++++++++---- migration/rdma.c | 121 +++++++++++++++++++---------------------- migration/rdma.h | 34 ++++++++++++ migration/trace-events | 28 +++++----- 10 files changed, 155 insertions(+), 200 deletions(-)
Signature · 1 line
2.40.0