Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnWGp-0000op-Ab for qemu-devel@nongnu.org; Fri, 05 Mar 2010 07:04:43 -0500 Received: from [199.232.76.173] (port=58399 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnWGo-0000oh-UA for qemu-devel@nongnu.org; Fri, 05 Mar 2010 07:04:42 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NnWGn-00015o-Jk for qemu-devel@nongnu.org; Fri, 05 Mar 2010 07:04:42 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40476) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NnWGn-00015g-8L for qemu-devel@nongnu.org; Fri, 05 Mar 2010 07:04:41 -0500 Date: Fri, 5 Mar 2010 17:33:16 +0530 From: Amit Shah Message-ID: <20100305120316.GA22141@amit-x200.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCHv4 03/12] notifier: event notifier implementation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: quintela@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com On (Wed) Mar 03 2010 [19:16:00], Michael S. Tsirkin wrote: > event notifiers are slightly generalized eventfd descriptors. Current > implementation depends on eventfd because vhost is the only user, and > vhost depends on eventfd anyway, but a stub is provided for non-eventfd > case. > > We'll be able to further generalize this when another user comes along > and we see how to best do this. > > Signed-off-by: Michael S. Tsirkin > --- > Makefile.target | 1 + > hw/notifier.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > hw/notifier.h | 16 ++++++++++++++ Since these are *event* notifiers and all the functions are named event_notifier_*, can we also name the files event_notifer.[ch]? Just notifier isn't very helpful, since there are all sorts of notifiers available. Amit