migration fixes
Status from this message: Applied to staging.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | migration: Fix race that dest preempt thread close too earlymigration/ migration/ migration/ | +51 | 0 replies | |
| 2/8 | migration: Fix possible race when setting rp_state.errormigration/ | +0 | 0 replies | |
| 3/8 | migration: Fix possible races when shutting down the return pathmigration/ | +10 | 0 replies | |
| 4/8 | migration: Fix possible race when shutting down to_dst_filemigration/ | +11 | 0 replies | |
| 5/8 | migration: Remove redundant cleanup of postcopy_qemufile_srcmigration/ | +0 | 0 replies | |
| 6/8 | migration: Consolidate return path closing codemigration/ | +14 | 0 replies | |
| 7/8 | migration: Replace the return path retry logicmigration/ migration/ | +11 | 0 replies | |
| 8/8 | migration: Move return path cleanup to main migration threadmigration/ | +10 | 0 replies |
Reviews trailers per patch
7 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Fabiano Rosas |
|---|---|---|
| 1/8 | Debugged-by | |
| 2/8 | R-b | |
| 3/8 | R-b | |
| 4/8 | R-b | |
| 5/8 | R-b | |
| 6/8 | R-b | |
| 7/8 | R-b | |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] migration fixes
This series contains fixes for the two currently know failures that show up in migration tests plus a set of fixes for some theoretical race conditions around QEMUFile handling.
Patch 1 addresses the issue found in the postcopy/preempt/plain test:
https://gitlab.com/qemu-project/qemu/-/issues/1886
Patch 7 fixes a rare crash during the postocpy/preempt/recovery/plain test:
Thread 7 "return path" received signal SIGSEGV, Segmentation fault.
0x00005555560e4893 in qemu_file_get_error_obj (f=0x0, errp=0x0) at ../migration/qemu-file.c:154
154 return f->last_error;CI run: https://gitlab.com/farosas/qemu/-/pipelines/1008652837
Fabiano Rosas (7):
migration: Fix possible race when setting rp_state.error
migration: Fix possible races when shutting down the return path
migration: Fix possible race when shutting down to_dst_file
migration: Remove redundant cleanup of postcopy_qemufile_src
migration: Consolidate return path closing code
migration: Replace the return path retry logic
migration: Move return path cleanup to main migration thread
Peter Xu (1):
migration: Fix race that dest preempt thread close too early
migration/migration.c | 145 +++++++++++++++------------------------ migration/migration.h | 14 +++- migration/postcopy-ram.c | 38 +++++++++- 3 files changed, 106 insertions(+), 91 deletions(-)
Signature · 1 line
2.35.3