qemu/accel/kvm
Gal Hammer 4fe6d78b2e virtio: postpone the execution of event_notifier_cleanup function
Use the EventNotifier's cleanup callback function to execute the
event_notifier_cleanup function after kvm unregistered the eventfd.

This change supports running the virtio_bus_set_host_notifier
function inside a memory region transaction. Otherwise, a closed
fd is sent to kvm, which results in a failure.

Signed-off-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-01-18 21:52:37 +02:00
..
Makefile.objs accel: move kvm related accelerator files into accel/ 2017-06-15 11:04:06 +02:00
kvm-all.c virtio: postpone the execution of event_notifier_cleanup function 2018-01-18 21:52:37 +02:00
trace-events accel: move kvm related accelerator files into accel/ 2017-06-15 11:04:06 +02:00