From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSGqU-0008Ps-1A for qemu-devel@nongnu.org; Mon, 11 Jun 2018 03:02:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSGqP-00083G-5q for qemu-devel@nongnu.org; Mon, 11 Jun 2018 03:02:30 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44066 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fSGqP-00082n-0p for qemu-devel@nongnu.org; Mon, 11 Jun 2018 03:02:25 -0400 References: <20180603050546.6827-1-zhangckid@gmail.com> <20180603050546.6827-15-zhangckid@gmail.com> <96b6dd17-bbb6-48e9-54c8-6495c8a56c98@redhat.com> <6d894c72-0ddf-d915-98bb-b23803fb566f@redhat.com> From: Jason Wang Message-ID: <563037c8-9749-db84-04b2-f443b9712702@redhat.com> Date: Mon, 11 Jun 2018 15:02:17 +0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH V8 14/17] filter: Add handle_event method for NetFilterClass List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Zhang Chen Cc: zhanghailiang , Li Zhijian , Juan Quintela , qemu-devel@nongnu.org, Markus Armbruster , Paolo Bonzini , "Dr . David Alan Gilbert" On 2018=E5=B9=B406=E6=9C=8811=E6=97=A5 14:46, Zhang Chen wrote: > On Mon, Jun 11, 2018 at 9:56 AM, Jason Wang wrote= : > >> >> On 2018=E5=B9=B406=E6=9C=8810=E6=97=A5 22:09, Zhang Chen wrote: >> >>> I think when COLO is enabled, qemu should reject all other types of >>>> backends. >>>> >>> Yes, you are right. >>> May be we should add a assert here? Because we can not get backend in= fo >>> when >>> colo-compare start up. >>> Have any idea? >>> >>> >>> >> Is there a global variable or function to detect the COLO existence? I= f >> yes, maybe we could use that. >> > May be we can reuse the "qmp_query_colo_status" in 11/17 patch. > I will add this check in next version. I think it's better to have an internal helper. Calling qmp function=20 from net is odd. Thanks > > Thanks > Zhang Chen > > >> Thanks >> >>