From patchwork Fri Mar 15 06:42:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Chen" X-Patchwork-Id: 1056878 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=intel.com Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44LGRr2Lxqz9s3l for ; Fri, 15 Mar 2019 17:50:32 +1100 (AEDT) Received: from localhost ([127.0.0.1]:50721 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4gfm-0003Q8-5f for incoming@patchwork.ozlabs.org; Fri, 15 Mar 2019 02:50:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h4gcF-0000ye-Tp for qemu-devel@nongnu.org; Fri, 15 Mar 2019 02:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h4gbi-00026p-K1 for qemu-devel@nongnu.org; Fri, 15 Mar 2019 02:46:19 -0400 Received: from mga03.intel.com ([134.134.136.65]:12844) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h4gbi-00025Z-9z for qemu-devel@nongnu.org; Fri, 15 Mar 2019 02:46:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Mar 2019 23:46:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,481,1544515200"; d="scan'208";a="131833319" Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by fmsmga008.fm.intel.com with ESMTP; 14 Mar 2019 23:46:12 -0700 From: Zhang Chen To: Li Zhijian , Zhang Chen , "Dr. David Alan Gilbert" , Juan Quintela , zhanghailiang , Markus Armbruster , Eric Blake , qemu-dev Date: Fri, 15 Mar 2019 14:42:38 +0800 Message-Id: <20190315064242.515-1-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.GIT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 134.134.136.65 Subject: [Qemu-devel] [PATCH V4 0/4] Migration/colo: Fix upstream bugs when occur failover X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Zhang Chen This series focus on COLO failover bug fix and optimization. V4: - Remove merged patch. - Fix grammer issues in patch 2/4 to address markus's comments. - Rebased on upstream code. V3: - Fix grammer issues in patch 4/7. - Add more information in commit log of patch 5/7. V2: - Add patch 4/7 to handle failover state. - Add new patches to optimize failover status. V1: - Init patch. Zhang Chen (4): Migration/colo.c: Fix COLO failover status error Migration/colo.c: Add new COLOExitReason to handle all failover state Migration/colo.c: Add the necessary checks for colo_do_failover Migration/colo.c: Make user obtain the COLO mode info after failover migration/colo.c | 67 +++++++++++++++++++++++++++++++-------------- qapi/migration.json | 15 ++++++---- 2 files changed, 56 insertions(+), 26 deletions(-)