Paolo Bonzini fa283a4a8b virtio: inline virtio_queue_set_host_notifier_fd_handler
Of the three possible parameter combinations for
virtio_queue_set_host_notifier_fd_handler:

- assign=true/set_handler=true is only called from
  virtio_device_start_ioeventfd

- assign=false/set_handler=false is called from
  set_host_notifier_internal but it only does something when
  reached from virtio_device_stop_ioeventfd_impl; otherwise
  there is no EventNotifier set on qemu_get_aio_context().

- assign=true/set_handler=false is called from
  set_host_notifier_internal, but it is not doing anything:
  with the new start_ioeventfd and stop_ioeventfd methods,
  there is never an EventNotifier set on qemu_get_aio_context()
  at this point.  This is enforced by the assertion in
  virtio_bus_set_host_notifier.

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:21 +02:00
..
2016-10-25 10:25:27 +01:00
2016-10-04 13:28:07 +01:00
2016-10-04 13:28:09 +01:00
2016-09-23 10:29:40 +10:00
2016-10-10 10:39:29 +01:00
2016-05-18 15:04:27 +03:00
2016-09-08 18:05:21 +04:00
2013-04-08 18:13:10 +02:00
2016-06-24 05:13:57 +03:00
2016-09-23 19:03:56 +03:00
2016-09-15 15:32:22 +03:00
2016-10-24 16:26:53 +01:00
2016-10-08 09:02:19 +03:00
2016-10-17 15:44:49 -02:00
2016-05-19 16:42:30 +02:00
2014-10-23 16:41:25 +02:00
2016-09-08 18:05:22 +04:00
2013-04-08 18:13:10 +02:00
2016-06-22 12:53:26 +02:00