Skip to content

live migration bug fix and refine

Liang Li qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 6 repliesIn review
  2. v15 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9migration: Fix multi-thread compression bugmigration/ram.c+27 -110 replies
2/9migration: Fix a potential issuemigration/ram.c+19 -05 replies
3/9migration: remove useless codemigration/ram.c+0 -10 replies
4/9qemu-file: Fix qemu_put_compression_data flawmigration/qemu-file.c migration/ram.c+34 -70 replies
5/9migration: refine ram_save_compressed_pagemigration/ram.c+13 -140 replies
6/9migration: protect the quit flag by lockmigration/ram.c+16 -160 replies
7/9migration: refine the compression codemigration/ram.c+40 -440 replies
8/9migration: refine the decompression codemigration/ram.c+25 -250 replies
9/9migration: code clean upmigration/ram.c+15 -210 replies

Reviews trailers per patch

2 of 9 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangeDr. David Alan GilbertJuan Quintela
1/9R-b T-b R-b R-b
2/9
3/9R-b R-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/9] live migration bug fix and refine

This patch set fixed a bug which will block live migration and another potential issue when using multi-thread (de)compression.

The last patches try to refine the code and make the using of lock more clear. Some of the code snippets are from Juan's multiple-fd patches, with very small change. Thanks for Juan's work.

Liang Li (9):
migration: Fix multi-thread compression bug
migration: Fix a potential issue
migration: remove useless code
qemu-file: Fix qemu_put_compression_data flaw
migration: refine ram_save_compressed_page
migration: protect the quit flag by lock
migration: refine the compression code
migration: refine the decompression code
migration: code clean up

 migration/qemu-file.c |  23 ++++-
 migration/ram.c       | 251 ++++++++++++++++++++++++++++----------------------
 2 files changed, 162 insertions(+), 112 deletions(-)
Signature · 1 line
1.9.1