Received: from eggs.gnu.org ([2001:4830:134:3::10]:59228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bonuH-0004RZ-1r for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:38:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bonuD-0001TS-3X for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:38:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bonuC-0001T8-TP for qemu-devel@nongnu.org; Tue, 27 Sep 2016 04:38:25 -0400 References: <1474942956-27182-1-git-send-email-zhangchen.fnst@cn.fujitsu.com> From: Jason Wang Message-ID: <4ee8b552-d55b-a8a4-ba63-6b7055443dc9@redhat.com> Date: Tue, 27 Sep 2016 16:38:18 +0800 MIME-Version: 1.0 In-Reply-To: <1474942956-27182-1-git-send-email-zhangchen.fnst@cn.fujitsu.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V15 00/12] Introduce COLO-Proxy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Chen , qemu devel Cc: Li Zhijian , Wen Congyang , zhanghailiang , "eddie . dong" , "Dr . David Alan Gilbert" On 2016=E5=B9=B409=E6=9C=8827=E6=97=A5 10:22, Zhang Chen wrote: > COLO-proxy is a part of COLO project. COLO project is > composed of COLO-frame, COLO-proxy and block-replication. > It is used to compare the network package to help COLO > decide whether to do checkpoint. With COLO-proxy's help, > COLO greatly improves the performance. > > The filter-redirector, filter-mirror, colo-compare > and filter-rewriter compose the COLO-proxy. > > COLO-compare > It is used to compare the network package to help COLO decide > whether to do checkpoint. > > Filter-rewriter > It will rewrite some of secondary packet to make > secondary guest's connection established successfully. > In this module we will rewrite tcp packet's ack to the secondary > from primary,and rewrite tcp packet's seq to the primary from > secondary. > > The full version in this github: > https://github.com/zhangckid/qemu/tree/colo-v2.7-proxy-mode-compare-and= -rewriter-sep27 > > v15: > - change "ConnectionKey key =3D { 0 };" to > "ConnectionKey key =3D {{0},};", fix typo. This causes build failure for mingw@fedora docker test. I tend to fix by not using the initializer but call a memset() in=20 fill_connection_key(). If you agree, I will fix it in my tree and no need to repost a new versio= n.