Skip to content

migration: Bug fixes (prepare for preempt-full)

Peter Xu qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 6 repliesIn review
  2. v15 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- Drop patch "migration: Disallow xbzrle with postcopy" [Dave]
- Added patch "migration: Disable multifd explicitly with compression" (according to the comment in the other series) [Dave]
- s/deadloop/infinite loop/ in patch 1 subject [Dave]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5migration: Fix possible infinite loop of ram save processmigration/ram.c+12 -41 reply
2/5migration: Fix race on qemu_file_shutdown()migration/qemu-file.c+24 -31 reply
3/5migration: Disallow postcopy preempt to be used with compressmigration/migration.c+11 -01 reply
4/5migration: Use non-atomic ops for clear log bitmapinclude/exec/ram_addr.h include/exec/ramblock.h include/qemu/bitmap.h +1 more+55 -51 reply
5/5migration: Disable multifd explicitly with compressionmigration/migration.c migration/ram.c+12 -62 replies

Reviews trailers per patch

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

PatchDr. David Alan GilbertJuan Quintela
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] migration: Bug fixes (prepare for preempt-full)

v2:
- Drop patch "migration: Disallow xbzrle with postcopy" [Dave]
- Added patch "migration: Disable multifd explicitly with compression" (according to the comment in the other series) [Dave]
- s/deadloop/infinite loop/ in patch 1 subject [Dave]

v1: https://lore.kernel.org/qemu-devel/[email protected]

This patchset does bug fixes that I found when testing preempt-full. Please refer to each of the patch on the purpose. Thanks,

Peter Xu (5):
migration: Fix possible infinite loop of ram save process
migration: Fix race on qemu_file_shutdown()
migration: Disallow postcopy preempt to be used with compress
migration: Use non-atomic ops for clear log bitmap
migration: Disable multifd explicitly with compression

 include/exec/ram_addr.h | 11 +++++-----
 include/exec/ramblock.h |  3 +++
 include/qemu/bitmap.h   |  1 +
 migration/migration.c   | 18 +++++++++++++++++
 migration/qemu-file.c   | 27 ++++++++++++++++++++++---
 migration/ram.c         | 27 ++++++++++++++++---------
 util/bitmap.c           | 45 +++++++++++++++++++++++++++++++++++++++++
 7 files changed, 114 insertions(+), 18 deletions(-)
Signature · 1 line
2.37.3