From nobody Mon Feb 9 06:34:18 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1592962442; cv=none; d=zohomail.com; s=zohoarc; b=J8XjOKBfixxNmkrNCMkOgfvYSMAaCYYSk5rmGpFYtLFlijcA6HriD4L8nzhekoX8LL5h8pCCrs1nQy6sojMMes6GsqdwR69VEW3WMjj9f116j2sCSCTa+NDXAo8WGsDHgMFSUKoDWan4OfLnWQfXtWnLn/rWkLUfKB4vWiG8WH8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592962442; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To; bh=D52NtNDFi0/SydukDWi9JWuA4DBFhok46fh1AJEJay0=; b=VHthP2H6j9Baph46R71SMKZCx4dniYoUaGuw0GgVtQGoQvN4P5M1Z6Jld8Luex6cLjmD2DOakV8ebYtxXDvbIrz8ZWp3n1S5mmv/eAdr6nkC8UsMv4aTvxh+5/Ba2j2GMHYRT/GETTgYoJdqrnUVa/vIFr7Nzcns+uC4tQ2nEJo= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 159296244298829.40271721480258; Tue, 23 Jun 2020 18:34:02 -0700 (PDT) Received: from localhost ([::1]:45164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnuIb-0001Va-N7 for importer@patchew.org; Tue, 23 Jun 2020 21:34:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnuH1-0000Ep-L3 for qemu-devel@nongnu.org; Tue, 23 Jun 2020 21:32:23 -0400 Received: from mga03.intel.com ([134.134.136.65]:58215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnuGz-0002a3-Uo for qemu-devel@nongnu.org; Tue, 23 Jun 2020 21:32:23 -0400 Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jun 2020 18:32:15 -0700 Received: from unknown (HELO localhost.localdomain) ([10.239.13.19]) by fmsmga004.fm.intel.com with ESMTP; 23 Jun 2020 18:32:14 -0700 IronPort-SDR: nKoUSOM9ofhw6yPCKt39dV8rZX9mbHrDeLVyxZT/z3piRvXkwA4LldgwfH5wouSjK/2QA9WvwF K9L5C3hv04BQ== X-IronPort-AV: E=McAfee;i="6000,8403,9661"; a="144319744" X-IronPort-AV: E=Sophos;i="5.75,273,1589266800"; d="scan'208";a="144319744" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False IronPort-SDR: rLJ+ITA6vmTLSKuaxhDYCLDvWvbmE3Kv9BG7xsl6nDH8Bv3xN5qP/tBn4Swy9m5Uz3ThMQ7ZPc M6PTN1rEIwfA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,273,1589266800"; d="scan'208";a="301458060" From: Zhang Chen To: Jason Wang Subject: [PATCH V2 2/2] qemu-options.hx: Clean up and fix typo for colo-compare Date: Wed, 24 Jun 2020 09:20:42 +0800 Message-Id: <20200624012042.29355-3-chen.zhang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200624012042.29355-1-chen.zhang@intel.com> References: <20200624012042.29355-1-chen.zhang@intel.com> Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=134.134.136.65; envelope-from=chen.zhang@intel.com; helo=mga03.intel.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/23 21:32:13 X-ACL-Warn: Detected OS = FreeBSD 9.x or newer [fuzzy] X-Spam_score_int: -38 X-Spam_score: -3.9 X-Spam_bar: --- X-Spam_report: (-3.9 / 5.0 requ) BAYES_00=-1.9, FROM_ADDR_WS=1, FROM_WSP_TRAIL=1, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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 , qemu-dev , Zhang Chen Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Zhang Chen Fix some typo and optimized some descriptions. Signed-off-by: Zhang Chen --- qemu-options.hx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index 3ee19a4b0d..aa7ffb34db 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4640,24 +4640,24 @@ SRST tools such as tcpdump or Wireshark. =20 ``-object colo-compare,id=3Did,primary_in=3Dchardevid,secondary_in=3Dc= hardevid,outdev=3Dchardevid,iothread=3Did[,vnet_hdr_support][,notify_dev=3D= id][,compare_timeout=3D@var{ms}][,expired_scan_cycle=3D@var{ms}][,max_queue= _size=3D@var{size}]`` - Colo-compare gets packet from primary\_inchardevid and - secondary\_inchardevid, than compare primary packet with - secondary packet. If the packets are same, we will output - primary packet to outdevchardevid, else we will notify - colo-frame do checkpoint and send primary packet to - outdevchardevid. In order to improve efficiency, we need to put - the task of comparison in another thread. If it has the - vnet\_hdr\_support flag, colo compare will send/recv packet with - vnet\_hdr\_len. Then compare\_timeout=3D@var{ms} determines the - maximum delay colo-compare wait for the packet. - The expired\_scan\_cycle=3D@var{ms} to set the period of scanning - expired primary node network packets. The max\_queue\_size=3D@var{= size} - is to set the max compare queue size depend on user environment. - If you want to use Xen COLO, will need the notify\_dev to + Colo-compare gets packet from primary\_in chardevid and + secondary\_in, then compare whether the payload of primary packet + and secondary packet are the same. If same, it will output + primary packet to out\_dev, else it will notify COLO-framework to = do + checkpoint and send primary packet to out\_dev. In order to + improve efficiency, we need to put the task of comparison in + another iothread. If it has the vnet\_hdr\_support flag, + colo compare will send/recv packet with vnet\_hdr\_len. + The compare\_timeout=3D@var{ms} determines the maximum time of the + colo-compare hold the packet. The expired\_scan\_cycle=3D@var{ms} + is to set the period of scanning expired primary node network pack= ets. + The max\_queue\_size=3D@var{size} is to set the max compare queue + size depend on user environment. + If user want to use Xen COLO, need to add the notify\_dev to notify Xen colo-frame to do checkpoint. =20 - we must use it with the help of filter-mirror and - filter-redirector. + COLO-compare must be used with the help of filter-mirror, + filter-redirector and filter-rewriter. =20 :: =20 --=20 2.17.1