From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avxEp-00025b-K3 for qemu-devel@nongnu.org; Thu, 28 Apr 2016 21:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avxEl-0001mn-Ky for qemu-devel@nongnu.org; Thu, 28 Apr 2016 21:28:59 -0400 Received: from [59.151.112.132] (port=62534 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avxEl-0001lC-60 for qemu-devel@nongnu.org; Thu, 28 Apr 2016 21:28:55 -0400 References: <1460977906-25218-1-git-send-email-zhangchen.fnst@cn.fujitsu.com> <1460977906-25218-2-git-send-email-zhangchen.fnst@cn.fujitsu.com> <572278B6.6010706@redhat.com> From: Zhang Chen Message-ID: <5722B8C6.3050903@cn.fujitsu.com> Date: Fri, 29 Apr 2016 09:28:38 +0800 MIME-Version: 1.0 In-Reply-To: <572278B6.6010706@redhat.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH V3 1/4] colo-compare: introduce colo compare initlization List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake , qemu devel , Jason Wang Cc: Li Zhijian , Gui jianfeng , "eddie.dong" , zhanghailiang , "Dr. David Alan Gilbert" , Yang Hongyang On 04/29/2016 04:55 AM, Eric Blake wrote: > On 04/18/2016 05:11 AM, Zhang Chen wrote: > > s/initlization/initialization/ in the subject OK~ >> packet come from primary char indev will be send to >> outdev - packet come from secondary char dev will be drop > Grammar suggestion: > > Packets coming from the primary char indev will be sent to outdev; > packets coming from the secondary char dev will be dropped > I will fix it in next version. >> Signed-off-by: Li Zhijian >> Signed-off-by: Zhang Chen >> Signed-off-by: Wen Congyang >> --- >> +/* >> + * called from the main thread on the primary >> + * for get packets > s/get/getting/ OK >> +++ b/qemu-options.hx >> @@ -3866,6 +3866,12 @@ Dump the network traffic on netdev @var{dev} to the file specified by >> The file format is libpcap, so it can be analyzed with tools such as tcpdump >> or Wireshark. >> >> +@item -object colo-compare,id=@var{id},primary_in=@var{chardevid},secondary_in=@var{chardevid}, >> +outdev=@var{chardevid} >> + >> +Colo-compare get packet from primary_in@var{chardevid} and secondary_in@var{chardevid}, > s/get/gets/ OK >> +and output to outdev@var{chardevid}, we can use it with the help of filter-mirror and filter-redirector. > s/output/outputs/ > > Worth any better hints here about _how_ to use it with filter-mirror and > filter-redirector, or should the last phrase just be dropped? I will add how_to in next version. Thanks Zhang Chen > -- Thanks zhangchen