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: 10983747 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0CE991398 for ; Sun, 9 Jun 2019 16:50:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D60561FFFF for ; Sun, 9 Jun 2019 16:50:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C5CCA204FA; Sun, 9 Jun 2019 16:50:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,FROM_ADDR_WS, FROM_WSP_TRAIL,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=no version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7A3E11FFFF for ; Sun, 9 Jun 2019 16:50:41 +0000 (UTC) Received: from localhost ([::1]:37058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ha11k-0002MM-HD for patchwork-qemu-devel@patchwork.kernel.org; Sun, 09 Jun 2019 12:50:40 -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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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(-)