Received: from eggs.gnu.org ([208.118.235.92]:54759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfiYC-0005cO-AY for qemu-devel@nongnu.org; Thu, 23 May 2013 23:20:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfiYB-0008AG-C4 for qemu-devel@nongnu.org; Thu, 23 May 2013 23:20:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfiYB-0008AC-3H for qemu-devel@nongnu.org; Thu, 23 May 2013 23:20:15 -0400 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r4O3KEpO002498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 23 May 2013 23:20:14 -0400 Date: Fri, 24 May 2013 11:20:07 +0800 From: Amos Kong Message-ID: <20130524032007.GC1550@t430s.nay.redhat.com> References: <1369300080-31377-1-git-send-email-akong@redhat.com> <1369300080-31377-2-git-send-email-akong@redhat.com> <20130523102459.GD16892@redhat.com> <20130523102842.61a02d2e@redhat.com> <20130523144325.GC24037@redhat.com> <519E2D20.9060003@redhat.com> <20130523145756.GC24256@redhat.com> <20130523113337.15955383@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130523113337.15955383@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 1/2] net: introduce RX_FILTER_CHANGED event List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org, stefanha@redhat.com, "Michael S. Tsirkin" On Thu, May 23, 2013 at 11:33:37AM -0400, Luiz Capitulino wrote: > On Thu, 23 May 2013 17:57:56 +0300 > "Michael S. Tsirkin" wrote: > > > On Thu, May 23, 2013 at 08:52:16AM -0600, Eric Blake wrote: > > > On 05/23/2013 08:43 AM, Michael S. Tsirkin wrote: > > > >>> Please stress this is only for the NIC. It does not apply > > > >>> to non-NIC netclients. > > > >> > > > >> Stress it in the event name too, please. I find RX_FILTER_CHANGED a bit > > > >> generic. > > > > > > > > What do you suggest? > > > > NIC_RX_FILTER_CHANGED ? > > > > > > Yes, that might work. (And whatever name we bikeshed, insert it in the > > > correct sorted order in the file) Reasonable. > > > >> Also, although I haven't reviewed the next patch yet, I think you > > > >> should move the event trigger to this patch. > > > > > > > > That's hard because of the flag that's shared with the query > > > > command. > > > > > > It's fine if this patch declares and sets the flag, but the event is > > > one-shot until the next patch adds the query to clear the flag. And > > > again, the flag should be per-device, not global. It works. > > Maybe just merge both patches together. They are pretty small anyway. > > That's what I was going to suggest if it's really hard to move the > event to this patch. Ok, I will merge those two patches together, and give a detail/whole description in one patch. -- Amos.