[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 10/13] virtio: remove ioeventfd_disabled altoget
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH 10/13] virtio: remove ioeventfd_disabled altogether |
Date: |
Wed, 19 Oct 2016 13:10:21 +0200 |
On Mon, 10 Oct 2016 13:53:38 +0200
Paolo Bonzini <address@hidden> wrote:
> Now that there is not anymore a switch from the generic ioeventfd handler
> to the dataplane handler, virtio_bus_set_host_notifier(assign=true) is
> always called with !bus->ioeventfd_started, hence virtio_bus_stop_ioeventfd
> does nothing in this case. Move the invocation to vhost.c, which is the
> only place that needs it.
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
> hw/virtio/vhost.c | 3 +++
> hw/virtio/virtio-bus.c | 23 ++++++++---------------
> include/hw/virtio/virtio-bus.h | 6 ------
> 3 files changed, 11 insertions(+), 21 deletions(-)
Reviewed-by: Cornelia Huck <address@hidden>
- Re: [Qemu-devel] [PATCH 03/13] virtio: move ioeventfd_started flag to VirtioBusState, (continued)
- [Qemu-devel] [PATCH 06/13] virtio-blk: always use dataplane path if ioeventfd is active, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 05/13] virtio: introduce virtio_device_ioeventfd_enabled, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 08/13] Revert "virtio: Introduce virtio_add_queue_aio", Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 07/13] virtio-scsi: always use dataplane path if ioeventfd is active, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 10/13] virtio: remove ioeventfd_disabled altogether, Paolo Bonzini, 2016/10/10
- Re: [Qemu-devel] [PATCH 10/13] virtio: remove ioeventfd_disabled altogether,
Cornelia Huck <=
- [Qemu-devel] [PATCH 12/13] virtio: inline virtio_queue_set_host_notifier_fd_handler, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 11/13] virtio: use virtio_bus_set_host_notifier to start/stop ioeventfd, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 13/13] virtio: inline set_host_notifier_internal, Paolo Bonzini, 2016/10/10
- [Qemu-devel] [PATCH 09/13] virtio: remove set_handler argument from set_host_notifier_internal, Paolo Bonzini, 2016/10/10
- Re: [Qemu-devel] [PATCH 00/12] virtio: cleanup ioeventfd start/stop, Cornelia Huck, 2016/10/18