From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36774) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwTFf-0007nY-Ky for qemu-devel@nongnu.org; Tue, 18 Oct 2016 08:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwTFb-0005RY-7Q for qemu-devel@nongnu.org; Tue, 18 Oct 2016 08:12:15 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:21357) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwTFa-0005Mr-EH for qemu-devel@nongnu.org; Tue, 18 Oct 2016 08:12:11 -0400 From: zhanghailiang Date: Tue, 18 Oct 2016 20:09:56 +0800 Message-ID: <1476792613-11712-1-git-send-email-zhang.zhanghailiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH COLO-Frame (Base) v21 00/17] COarse-grain LOck-stepping(COLO) Virtual Machines for Non-stop Service (FT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: quintela@redhat.com, amit.shah@redhat.com Cc: qemu-devel@nongnu.org, dgilbert@redhat.com, wency@cn.fujitsu.com, lizhijian@cn.fujitsu.com, xiecl.fnst@cn.fujitsu.com, zhanghailiang , Hai Huang , Weidong Han , Dong eddie , Stefan Hajnoczi , Jason Wang This is the 21th version of COLO frame series. Rebase to the latest master. Cc: Juan Quintela Cc: Amit Shah Cc: Hai Huang Cc: Weidong Han Cc: Dong eddie Cc: Stefan Hajnoczi Cc: Jason Wang Cc: Dr. David Alan Gilbert (git) zhanghailiang (17): migration: Introduce capability 'x-colo' to migration COLO: migrate COLO related info to secondary node migration: Enter into COLO mode after migration if COLO is enabled migration: Switch to COLO process after finishing loadvm COLO: Establish a new communicating path for COLO COLO: Introduce checkpointing protocol COLO: Add a new RunState RUN_STATE_COLO COLO: Send PVM state to secondary side when do checkpoint COLO: Load VMState into QIOChannelBuffer before restore it COLO: Add checkpoint-delay parameter for migrate-set-parameters COLO: Synchronize PVM's state to SVM periodically COLO: Add 'x-colo-lost-heartbeat' command to trigger failover COLO: Introduce state to record failover process COLO: Implement the process of failover for primary VM COLO: Implement failover work for secondary VM docs: Add documentation for COLO feature configure: Support enable/disable COLO feature configure | 11 + docs/COLO-FT.txt | 189 +++++++++++++++ docs/qmp-commands.txt | 17 +- hmp-commands.hx | 15 ++ hmp.c | 17 +- hmp.h | 1 + include/migration/colo.h | 38 +++ include/migration/failover.h | 26 +++ include/migration/migration.h | 8 + migration/Makefile.objs | 2 + migration/colo-comm.c | 72 ++++++ migration/colo-failover.c | 83 +++++++ migration/colo.c | 528 ++++++++++++++++++++++++++++++++++++++++++ migration/migration.c | 84 ++++++- migration/ram.c | 37 ++- migration/trace-events | 6 + qapi-schema.json | 100 +++++++- stubs/Makefile.objs | 1 + stubs/migration-colo.c | 46 ++++ vl.c | 11 + 20 files changed, 1270 insertions(+), 22 deletions(-) create mode 100644 docs/COLO-FT.txt create mode 100644 include/migration/colo.h create mode 100644 include/migration/failover.h create mode 100644 migration/colo-comm.c create mode 100644 migration/colo-failover.c create mode 100644 migration/colo.c create mode 100644 stubs/migration-colo.c -- 1.8.3.1