diff options
| author | Paolo Bonzini | 2016-10-21 22:48:12 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-10-30 19:06:20 +0100 |
| commit | 6019f3b966d5764fd655b57887599e5e2d544f73 (patch) | |
| tree | 66a9070ddd68c1a7c84928d1fbb6438d06b78715 /include/exec/user | |
| parent | Revert "virtio: Introduce virtio_add_queue_aio" (diff) | |
| download | qemu-6019f3b966d5764fd655b57887599e5e2d544f73.tar.gz qemu-6019f3b966d5764fd655b57887599e5e2d544f73.tar.xz qemu-6019f3b966d5764fd655b57887599e5e2d544f73.zip | |
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>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
