Fix segfault on migration return path
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest10 patches 12 repliesIn review
- v58 patches 4 repliesSuperseded
- v48 patches 5 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 10 patches | 15 replies | Superseded | |
| v2 | 2 patches | 11 replies | Superseded | |
| v1 | 3 patches | 8 replies | Superseded |
v5 from the cover letter
Patches in v6 No applies recorded yet
Reviews trailers per patch
8 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Peter Xu | Philippe Mathieu-Daudé |
|---|---|---|
| 1/10 | R-b | |
| 2/10 | R-b | |
| 3/10 | R-b | |
| 4/10 | R-b | |
| 5/10 | R-b | |
| 6/10 | R-b | |
| 7/10 | R-b | |
| 8/10 | R-b | R-b |
| 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 v6 00/10] Fix segfault on migration return path
This version adds migration-specific tracking for the yank functions.
We've estabilished that using the ioc refcount is a layer violation and that relaxing the abort() on yank.c is undesirable, so we're left with making the migration code keep track of how many QEMUFiles are still using the QIOChannel and (consequently) the yank function.
CI run: https://gitlab.com/farosas/qemu/-/pipelines/999810871
v5:
https://lore.kernel.org/r/[email protected]
v4:
https://lore.kernel.org/r/[email protected]
v3:
https://lore.kernel.org/r/[email protected]
v2:
https://lore.kernel.org/r/[email protected]
v1:
https://lore.kernel.org/r/[email protected]
Fabiano Rosas (10):
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 migration/yank: Use channel features
migration/yank: Keep track of registered yank instances
migration: Add a wrapper to cleanup migration files
migration/migration.c | 227 +++++++++++++------------------------ migration/migration.h | 1 - migration/yank_functions.c | 87 +++++++++++--- migration/yank_functions.h | 8 ++ 4 files changed, 160 insertions(+), 163 deletions(-)
Signature · 1 line
2.35.3