mbox series

[v3,00/10] Fixed some bugs and optimized some codes for COLO

Message ID 1616123268-89517-1-git-send-email-lei.rao@intel.com (mailing list archive)
Headers show
Series Fixed some bugs and optimized some codes for COLO | expand


Lei Rao March 19, 2021, 3:07 a.m. UTC
From: Rao, Lei <lei.rao@intel.com>

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_diry.
  Fixed calculation error of pkt->header_size in fill_pkt_tcp_info()

 migration/colo.c      | 10 +++----
 migration/migration.c |  4 +++
 migration/ram.c       | 76 +++++++++++++++++++++++++++++++++++++++++++++++++--
 migration/ram.h       |  1 +
 net/colo-compare.c    | 25 ++++++++---------
 net/colo-compare.h    |  1 +
 net/colo.c            | 23 ++++++++++++++++
 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, 128 insertions(+), 29 deletions(-)