Re: [Qemu-devel] [PATCH 2/2] dataplane: change vring API to use VirtQueueElement

2013-05-13 Thread Stefan Hajnoczi
On Fri, May 10, 2013 at 02:27:29PM +0200, Paolo Bonzini wrote: > @@ -305,29 +285,28 @@ static void handle_notify(EventNotifier *e) > vring_disable_notification(s->vdev, &s->vring); > > for (;;) { > -head = vring_pop(s->vdev, &s->vring, iov, end, &out_num, > &in_num)

[Qemu-devel] [PATCH 2/2] dataplane: change vring API to use VirtQueueElement

2013-05-10 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- hw/block/dataplane/virtio-blk.c | 83 ++--- hw/virtio/dataplane/vring.c | 46 +++- include/hw/virtio/dataplane/vring.h | 6 +-- 3 files changed, 59 insertions(+), 76 deletions(-) diff --git a/hw/block/d