Re: [Qemu-devel] [PATCH 4/7] virtio: add aio handler

2016-04-06 Thread Cornelia Huck
On Wed, 6 Apr 2016 14:09:12 +0200 Paolo Bonzini wrote: > On 06/04/2016 13:11, Cornelia Huck wrote: > >> > +static void virtio_queue_notify_aio_vq(VirtQueue *vq) > >> > +{ > >> > +if (vq->vring.desc && vq->handle_aio_output) { > >> > +VirtIODevice *vdev = vq->vdev; > >> > + > >> > +

Re: [Qemu-devel] [PATCH 4/7] virtio: add aio handler

2016-04-06 Thread Paolo Bonzini
On 06/04/2016 13:11, Cornelia Huck wrote: >> > +static void virtio_queue_notify_aio_vq(VirtQueue *vq) >> > +{ >> > +if (vq->vring.desc && vq->handle_aio_output) { >> > +VirtIODevice *vdev = vq->vdev; >> > + >> > +trace_virtio_queue_notify(vdev, vq - vdev->vq, vq); >> > +

Re: [Qemu-devel] [PATCH 4/7] virtio: add aio handler

2016-04-06 Thread Cornelia Huck
On Wed, 6 Apr 2016 12:16:25 +0200 Paolo Bonzini wrote: > From: "Michael S. Tsirkin" > > In addition to handling IO in vcpu thread and in io thread, blk dataplane > introduces yet another mode: handling it by AioContext. > > Currently, this reuses the same handler as previous modes, > which tr