From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nkvpn-0003kl-Vs for qemu-devel@nongnu.org; Fri, 26 Feb 2010 03:46:08 -0500 Received: from [199.232.76.173] (port=48127 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nkvpn-0003kA-1y for qemu-devel@nongnu.org; Fri, 26 Feb 2010 03:46:07 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nkvpl-000334-SK for qemu-devel@nongnu.org; Fri, 26 Feb 2010 03:46:06 -0500 Received: from mx1.redhat.com ([209.132.183.28]:43413) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nkvpl-00032s-EX for qemu-devel@nongnu.org; Fri, 26 Feb 2010 03:46:05 -0500 Date: Fri, 26 Feb 2010 10:46:01 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: [PATCHv2 05/12] virtio: add APIs for queue fields Message-ID: <20100226084601.GA7076@redhat.com> References: <19fc42bc126bcf69ef1fac10e6e8073e387148dd.1267122331.git.mst@redhat.com> <4B86CEBA.4070707@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B86CEBA.4070707@codemonkey.ws> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: amit.shah@redhat.com, quintela@redhat.com, kraxel@redhat.com, qemu-devel@nongnu.org, "Michael S. Tsirkin" On Thu, Feb 25, 2010 at 01:25:46PM -0600, Anthony Liguori wrote: > On 02/25/2010 12:27 PM, Michael S. Tsirkin wrote: > >vhost needs physical addresses for ring and other queue fields, > >so add APIs for these. > > > >Signed-off-by: Michael S. Tsirkin > >--- > > hw/virtio.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ > > hw/virtio.h | 10 +++++++++- > > 2 files changed, 59 insertions(+), 1 deletions(-) > > > >diff --git a/hw/virtio.c b/hw/virtio.c > >index 1f5e7be..b017d7b 100644 > >--- a/hw/virtio.c > >+++ b/hw/virtio.c > >@@ -74,6 +74,11 @@ struct VirtQueue > > uint16_t vector; > > void (*handle_output)(VirtIODevice *vdev, VirtQueue *vq); > > VirtIODevice *vdev; > >+<<<<<<< HEAD > >+======= > >+ EventNotifier guest_notifier; > >+ EventNotifier host_notifier; > >+>>>>>>> 8afa4fd... virtio: add APIs for queue fields > > That's clearly not right :-) > Merge conflict resolution is left as exercise for the reader. -- Gleb.