[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 00/18] COLO: integrate colo frame with block repl

From: zhanghailiang
Subject: [Qemu-devel] [PATCH v2 00/18] COLO: integrate colo frame with block replication and net compare
Date: Sat, 22 Apr 2017 16:25:40 +0800


COLO Frame, block replication and COLO net compare have been exist in qemu
for long time, it's time to integrate these three parts to make COLO really 

In this series, we have some optimizations for COLO frame, including separating 
process of saving ram and device state, using an COLO_EXIT event to notify 
users that
VM exits COLO, for these parts, most of them have been reviewed long time ago 
in old version,
but since this series have just rebased on upstream which had merged a new 
series of migration,
parts of pathes in this series deserve review again.

We use notifier/callback method for COLO compare to notify COLO frame about
net packets inconsistent event, and add a handle_event method for 
NetFilterClass to
help COLO frame to notify filters and colo-compare about checkpoint/failover 
it is flexible.

Besides, this series is on top of '[PATCH 0/3] colo-compare: fix three bugs' 

For the neweset version, please refer to:

Please review, thanks.

Cc: Dong eddie <address@hidden>
Cc: Jiang yunhong <address@hidden>
Cc: Xu Quan <address@hidden>
Cc: Jason Wang <address@hidden> 

zhanghailiang (18):
  net/colo: Add notifier/callback related helpers for filter
  colo-compare: implement the process of checkpoint
  colo-compare: use notifier to notify packets comparing result
  COLO: integrate colo compare with colo frame
  COLO: Handle shutdown command for VM in COLO state
  COLO: Add block replication into colo process
  COLO: Load dirty pages into SVM's RAM cache firstly
  ram/COLO: Record the dirty pages that SVM received
  COLO: Flush memory data from ram cache
  qmp event: Add COLO_EXIT event to notify users while exited COLO
  savevm: split save/find loadvm_handlers entry into two helper
  savevm: split the process of different stages for loadvm/savevm
  COLO: Separate the process of saving/loading ram and device state
  COLO: Split qemu_savevm_state_begin out of checkpoint process
  COLO: flush host dirty ram from cache
  filter: Add handle_event method for NetFilterClass
  filter-rewriter: handle checkpoint and failover event
  COLO: notify net filters about checkpoint/failover event

 include/exec/ram_addr.h       |   1 +
 include/migration/colo.h      |   1 +
 include/migration/migration.h |   5 +
 include/net/filter.h          |   5 +
 include/sysemu/sysemu.h       |   9 ++
 migration/colo.c              | 242 +++++++++++++++++++++++++++++++++++++++---
 migration/migration.c         |  24 ++++-
 migration/ram.c               | 147 ++++++++++++++++++++++++-
 migration/savevm.c            | 113 ++++++++++++++++----
 migration/trace-events        |   2 +
 net/colo-compare.c            | 110 ++++++++++++++++++-
 net/colo-compare.h            |   8 ++
 net/colo.c                    | 105 ++++++++++++++++++
 net/colo.h                    |  19 ++++
 net/filter-rewriter.c         |  39 +++++++
 net/filter.c                  |  16 +++
 net/net.c                     |  28 +++++
 qapi-schema.json              |  18 +++-
 qapi/event.json               |  21 ++++
 vl.c                          |  19 +++-
 20 files changed, 886 insertions(+), 46 deletions(-)
 create mode 100644 net/colo-compare.h


reply via email to

[Prev in Thread] Current Thread [Next in Thread]