From patchwork Sun Jun 9 16:44:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Chen" X-Patchwork-Id: 1112674 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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45MMh40S5tz9sNp for ; Mon, 10 Jun 2019 02:50:09 +1000 (AEST) Received: from localhost ([::1]:37052 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha11C-0000Qi-SY for incoming@patchwork.ozlabs.org; Sun, 09 Jun 2019 12:50:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56501) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha10R-0000QD-LH for qemu-devel@nongnu.org; Sun, 09 Jun 2019 12:49:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ha10Q-0007Fr-Mg for qemu-devel@nongnu.org; Sun, 09 Jun 2019 12:49:19 -0400 Received: from mga14.intel.com ([192.55.52.115]:62029) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ha10Q-0007BK-F1 for qemu-devel@nongnu.org; Sun, 09 Jun 2019 12:49:18 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2019 09:49:09 -0700 X-ExtLoop1: 1 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by orsmga005.jf.intel.com with ESMTP; 09 Jun 2019 09:49:07 -0700 From: Zhang Chen To: Li Zhijian , "Dr. David Alan Gilbert" , Juan Quintela , zhanghailiang , Jason Wang , qemu-dev , Stefano Stabellini , Paul Durrant Date: Mon, 10 Jun 2019 00:44:28 +0800 Message-Id: <20190609164433.5866-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: 192.55.52.115 Subject: [Qemu-devel] [PATCH V2 0/5] Add Xen COLO support X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen , Zhang Chen Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Zhang Chen Xen COLO based on KVM COLO architecture, it shared COLO proxy and block replication with KVM COLO. The only differece is Xen COLO have own COLO-frame to handle live migration related function, so we need this series make Xen COLO frame can communicate with other COLO modules in qemu. Xen side related patches have been merged. V2: - Rebase on upstream code. - Optimize code by Zhijian's comments in patch 4/5. - Remove origin 5/6 patch. V1: - Initial patch. Zhang Chen (5): COLO-compare: Add new parameter to communicate with remote colo-frame COLO-compare: Add remote notification chardev handler frame COLO-compare: Make the compare_chr_send() can send notification message. COLO-compare: Add colo-compare remote notify support migration/colo.c: Add missed filter notify for Xen COLO. migration/colo.c | 2 + net/colo-compare.c | 155 +++++++++++++++++++++++++++++++++++++++------ qemu-options.hx | 33 +++++++++- 3 files changed, 171 insertions(+), 19 deletions(-)