From nobody Tue May 7 02:59:46 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1564156199; cv=none; d=zoho.com; s=zohoarc; b=BRDVAKoPh4C/e8AmMrJnxOyDINHGFQ3Bjzk7SnkuluLIBTDHji7n5BnIC/NJv2KgJfWcKUkUZXFY9G/NyY4UiGbOnXTQCT/dne04ZWKB23BuntcS5tCxI6TB+tK6uakNKEJ+VC4GmWPLudVfI0wjKkq5a490VlHWH6fiHEXT6Ew= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564156199; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=fTk5i16zV4QC7/FbMMVnhus4NKNFFE0ChtlaL8YmydQ=; b=V8LvSwzgnup4d0ySFYjJGRccg7lt/ahm97BfE9Egg0J1OkDoIUCs/uITnkMIMKUPnWE+FEn6aPsYOTEJb2YKxZjFILOiZWcfdt1oUvBf2rCn497xxtm0MkqszJKIr7F+dgVHI/8GO3qu3gE+vJlZz/5LJtswEtAHPwnh4Hu1xfs= ARC-Authentication-Results: i=1; mx.zoho.com; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1564156199066739.7243174026113; Fri, 26 Jul 2019 08:49:59 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hr2Sl-0003J5-Am; Fri, 26 Jul 2019 15:48:55 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hr2Sk-0003Iw-Ap for xen-devel@lists.xenproject.org; Fri, 26 Jul 2019 15:48:54 +0000 Received: from mga17.intel.com (unknown [192.55.52.151]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id de5be5c8-afbc-11e9-8980-bc764e045a96; Fri, 26 Jul 2019 15:48:53 +0000 (UTC) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Jul 2019 08:48:52 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by fmsmga005.fm.intel.com with ESMTP; 26 Jul 2019 08:48:51 -0700 X-Inumbo-ID: de5be5c8-afbc-11e9-8980-bc764e045a96 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,311,1559545200"; d="scan'208";a="369567589" From: Zhang Chen To: Ian Jackson , Wei Liu , Anthony PERARD , xen-devel@lists.xenproject.org Date: Fri, 26 Jul 2019 23:43:40 +0800 Message-Id: <20190726154340.2950-1-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.GIT Subject: [Xen-devel] [PATCH V3] tools/libxl: Add iothread support for COLO X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Zhang Chen , Zhang Chen MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" From: Zhang Chen Xen COLO and KVM COLO shared lots of code in Qemu. The colo-compare object in Qemu now requires an 'iothread' property since Q= EMU 2.11. Detail: https://wiki.qemu.org/Features/COLO Signed-off-by: Zhang Chen Reviewed-by: Anthony PERARD --- tools/libxl/libxl_dm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index f4fc96415d..4b029d6c8e 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -1635,7 +1635,10 @@ static int libxl__build_device_model_args_new(libxl_= _gc *gc, nics[i].colo_compare_notify_dev) { flexarray_append(dm_args, "-object"); flexarray_append(dm_args, - GCSPRINTF("colo-compare,id=3Dc1,primary_in=3D%s= ,secondary_in=3D%s,outdev=3D%s,notify_dev=3D%s", + GCSPRINTF("iothread,id=3Dcolo-compare-iothread-= 1")); + flexarray_append(dm_args, "-object"); + flexarray_append(dm_args, + GCSPRINTF("colo-compare,id=3Dc1,primary_in=3D%s= ,secondary_in=3D%s,outdev=3D%s,notify_dev=3D%s,iothread=3Dcolo-compare-ioth= read-1", nics[i].colo_compare_pri_in, nics[i].colo_compare_sec_in, nics[i].colo_compare_out, --=20 2.17.GIT _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel