qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/2] virtio: add aio handler


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 1/2] virtio: add aio handler
Date: Tue, 29 Mar 2016 16:19:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0


On 29/03/2016 15:42, Michael S. Tsirkin wrote:
> +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);
> +        vq->handle_aio_output(vdev, vq);
> +    }
> +}
> +

This can be static, and virtio_queue_notify_vq probably should too.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]