qemu/hw/virtio
Paolo Bonzini 6019f3b966 virtio: remove set_handler argument from set_host_notifier_internal
Make virtio_device_start_ioeventfd_impl use the same logic as
dataplane to set up the host notifier.  This removes the need
for the set_handler argument in set_host_notifier_internal.

This is a first step towards using virtio_bus_set_host_notifier
as the sole entry point to set up ioeventfds.  At least now
the functions have the same interface, but they still differ
in that virtio_bus_set_host_notifier sets ioeventfd_disabled.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2016-10-30 20:06:20 +02:00
..
Makefile.objs vhost-vsock: add virtio sockets device 2016-09-10 00:28:08 +03:00
trace-events trace: move hw/virtio/virtio-balloon.c trace points into correct file 2016-09-28 19:17:55 +01:00
vhost-backend.c vhost-vsock: add virtio sockets device 2016-09-10 00:28:08 +03:00
vhost-user.c char: use qemu_chr_fe* functions with CharBackend argument 2016-10-24 15:27:21 +02:00
vhost-vsock.c virtio: cleanup VMSTATE_VIRTIO_DEVICE 2016-10-10 02:21:43 +03:00
vhost.c virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-balloon.c virtio/migration: Migrate balloon to VMState 2016-10-30 19:51:31 +02:00
virtio-bus.c virtio: remove set_handler argument from set_host_notifier_internal 2016-10-30 20:06:20 +02:00
virtio-mmio.c virtio: introduce virtio_device_ioeventfd_enabled 2016-10-30 19:51:32 +02:00
virtio-pci.c virtio: introduce virtio_device_ioeventfd_enabled 2016-10-30 19:51:32 +02:00
virtio-pci.h virtio: move ioeventfd_started flag to VirtioBusState 2016-10-30 19:51:32 +02:00
virtio-rng.c virtio: cleanup VMSTATE_VIRTIO_DEVICE 2016-10-10 02:21:43 +03:00
virtio.c virtio: remove set_handler argument from set_host_notifier_internal 2016-10-30 20:06:20 +02:00