Received: from eggs.gnu.org ([208.118.235.92]:50394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCWUm-0005W2-Os for qemu-devel@nongnu.org; Mon, 04 Mar 2013 09:36:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCWUi-0000EZ-3F for qemu-devel@nongnu.org; Mon, 04 Mar 2013 09:36:04 -0500 Received: from mail-bk0-f45.google.com ([209.85.214.45]:58862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCWUh-0000ER-T9 for qemu-devel@nongnu.org; Mon, 04 Mar 2013 09:36:00 -0500 Received: by mail-bk0-f45.google.com with SMTP id i18so2388372bkv.4 for ; Mon, 04 Mar 2013 06:35:59 -0800 (PST) Date: Mon, 4 Mar 2013 15:35:56 +0100 From: Stefan Hajnoczi Message-ID: <20130304143556.GC3981@stefanha-thinkpad.redhat.com> References: <1362316883-7948-1-git-send-email-qemulist@gmail.com> <1362316883-7948-2-git-send-email-qemulist@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1362316883-7948-2-git-send-email-qemulist@gmail.com> Subject: Re: [Qemu-devel] [PATCH 1/3] net: spread hub on AioContexts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Liu Ping Fan Cc: mdroth , Paolo Bonzini , qemu-devel@nongnu.org, Anthony Liguori , "Michael S. Tsirkin" On Sun, Mar 03, 2013 at 09:21:20PM +0800, Liu Ping Fan wrote: > @@ -44,6 +47,7 @@ typedef ssize_t (NetReceiveIOV)(NetClientState *, const struct iovec *, int); > typedef void (NetCleanup) (NetClientState *); > typedef void (LinkStatusChanged)(NetClientState *); > typedef void (NetClientDestructor)(NetClientState *); > +typedef void (NetClientReside)(NetClientState *, AioContext *); I suggest renaming to NetClientBindAioContext or NetClientBindCtx. "Reside" is passive (like to "I live in France") whereas "bind" is an action ("I am moving to France").