From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NnzPX-000199-Ki for qemu-devel@nongnu.org; Sat, 06 Mar 2010 14:11:39 -0500 Received: from [199.232.76.173] (port=47509 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NnzPX-00018p-22 for qemu-devel@nongnu.org; Sat, 06 Mar 2010 14:11:39 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NnzPW-0000Y5-0F for qemu-devel@nongnu.org; Sat, 06 Mar 2010 14:11:38 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9274) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NnzPS-0000XL-CK for qemu-devel@nongnu.org; Sat, 06 Mar 2010 14:11:37 -0500 Date: Sat, 6 Mar 2010 21:07:57 +0200 From: "Michael S. Tsirkin" Message-ID: <20100306190757.GC12235@redhat.com> References: <20100305130835.GD22141@amit-x200.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100305130835.GD22141@amit-x200.redhat.com> Subject: [Qemu-devel] Re: [PATCHv4 05/12] virtio: add APIs for queue fields List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: quintela@redhat.com, qemu-devel@nongnu.org, kraxel@redhat.com On Fri, Mar 05, 2010 at 06:38:35PM +0530, Amit Shah wrote: > On (Wed) Mar 03 2010 [19:16:09], Michael S. Tsirkin wrote: > > + > > +EventNotifier *virtio_queue_guest_notifier(VirtQueue *vq) > > +{ > > + return &vq->guest_notifier; > > +} > > +EventNotifier *virtio_queue_host_notifier(VirtQueue *vq) > > +{ > > + return &vq->host_notifier; > > +} > > Where are these host_notifier and guest_notifier fields set? Am I > completely missing it? > > Amit What do you mean by "set"? You get a pointer, you can e.g. init it.