[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 5/9] virtio: add aio handler
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 5/9] virtio: add aio handler |
Date: |
Wed, 30 Mar 2016 17:09:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 |
On 30/03/2016 16:55, Cornelia Huck wrote:
>> > if (assign && set_handler) {
>> > aio_set_event_notifier(ctx, &vq->host_notifier, true,
>> > - virtio_queue_host_notifier_read);
>> > + virtio_queue_host_notifier_aio_read);
>> > } else {
>> > aio_set_event_notifier(ctx, &vq->host_notifier, true, NULL);
>> > }
>> > if (!assign) {
>> > /* Test and clear notifier before after disabling event,
>> > * in case poll callback didn't have time to run. */
>> > - virtio_queue_host_notifier_read(&vq->host_notifier);
>> > + virtio_queue_host_notifier_aio_read(&vq->host_notifier);
> Is this function ever called with assign==false anymore after patch 1?
Patch 8 provides the answer (which is no :)).
Paolo
- Re: [Qemu-devel] [PATCH 3/9] virtio-blk: fix disabled mode, (continued)
- [Qemu-devel] [PATCH 4/9] virtio-scsi: fix disabled mode, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 5/9] virtio: add aio handler, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 2/9] virtio: make virtio_queue_notify_vq static, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 6/9] virtio-blk: use aio handler for data plane, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 7/9] virtio-scsi: use aio handler for data plane, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 8/9] virtio: merge virtio_queue_aio_set_host_notifier_handler with virtio_queue_set_aio, Paolo Bonzini, 2016/03/30
- [Qemu-devel] [PATCH 9/9] virtio: remove starting/stopping checks, Paolo Bonzini, 2016/03/30