Skip to content

Fixed some bugs and optimized some codes for COLO

leirao qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest10 patches 6 repliesIn review
  2. v510 patches 8 repliesSuperseded
  3. v410 patches 5 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v310 patches2 repliesSuperseded
v210 patches12 repliesSuperseded
v110 patches16 repliesSuperseded

Changes in v6 from the cover letter

--Replaced g_slice_new calls with g_slice_new0.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Remove some duplicate trace code.net/colo-compare.c+0 -130 replies
2/10Fix the qemu crash when guest shutdown during checkpointsoftmmu/runstate.c+1 -00 replies
3/10Optimize the function of filter_sendnet/filter-mirror.c+4 -40 replies
4/10Remove migrate_set_block_enabled in checkpointmigration/colo.c migration/migration.c+4 -60 replies
5/10Add a function named packet_new_nocopy for COLO.net/colo.c net/colo.h net/filter-rewriter.c+19 -101 reply
6/10Add the function of colo_compare_cleanupnet/colo-compare.c net/colo-compare.h net/net.c+15 -00 replies
7/10Reset the auto-converge counter at every checkpoint.migration/colo.c migration/ram.c migration/ram.h+14 -00 replies
8/10Reduce the PVM stop time during Checkpointmigration/ram.c+45 -30 replies
9/10Add the function of colo_bitmap_clear_dirtymigration/ram.c+31 -52 replies
10/10Fixed calculation error of pkt->header_size in fill_pkt_tcp_info()net/colo-compare.c+1 -10 replies

Reviews trailers per patch

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

PatchLi ZhijianZhang ChenLukas StraubDr. David Alan Gilbert
1/10R-b R-b R-b T-b
2/10R-b R-b R-b T-b
3/10R-b R-b R-b T-b
4/10R-b R-b R-b T-b
5/10R-b
6/10R-b R-b T-b
7/10R-b T-b R-b
8/10R-b T-b R-b
9/10R-b T-b R-b T-b R-b T-b
10/10R-b R-b R-b T-b

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

Read the v6 thread

Cover letter [PATCH v6 00/10] Fixed some bugs and optimized some codes for COLO

From: Rao, Lei <[email protected]>

Changes since v5:
--Replaced g_slice_new calls with g_slice_new0.

Changes since v4:
--Replaced qemu_mutex_lock calls with QEMU_LOCK_GUARD in colo_bitmap_clear_dirty. --Modify some minor issues about variable definition.
--Add some performance test data in the commit message.

Changes since v3:
--Remove cpu_throttle_stop from mig_throttle_counter_reset.

Changes since v2:
--Add a function named packet_new_nocopy. --Continue to optimize the function of colo_flush_ram_cache.

Changes since v1:
--Reset the state of the auto-converge counters at every checkpoint instead of directly disabling. --Treat the filter_send function returning zero as a normal case.

The series of patches include:
Fixed some bugs of qemu crash.
Optimized some code to reduce the time of checkpoint. Remove some unnecessary code to improve COLO.

Rao, Lei (10):
Remove some duplicate trace code.
Fix the qemu crash when guest shutdown during checkpoint Optimize the function of filter_send
Remove migrate_set_block_enabled in checkpoint
Add a function named packet_new_nocopy for COLO.
Add the function of colo_compare_cleanup
Reset the auto-converge counter at every checkpoint. Reduce the PVM stop time during Checkpoint
Add the function of colo_bitmap_clear_dirty
Fixed calculation error of pkt->header_size in fill_pkt_tcp_info()

 migration/colo.c      | 10 +++----
 migration/migration.c |  4 +++
 migration/ram.c       | 83 +++++++++++++++++++++++++++++++++++++++++++++++++--
 migration/ram.h       |  1 +
 net/colo-compare.c    | 25 +++++++---------
 net/colo-compare.h    |  1 +
 net/colo.c            | 25 +++++++++++-----
 net/colo.h            |  1 +
 net/filter-mirror.c   |  8 ++---
 net/filter-rewriter.c |  3 +-
 net/net.c             |  4 +++
 softmmu/runstate.c    |  1 +
 12 files changed, 129 insertions(+), 37 deletions(-)
Signature · 1 line
1.8.3.1