Gal Hammer 76143618a5 virtio: remove event notifier cleanup call on de-assign
The virtio_bus_set_host_notifier function no longer calls
event_notifier_cleanup when a event notifier is removed.

The commit updates the code to match the new behavior and calls
virtio_bus_cleanup_host_notifier after the notifier was de-assign
and no longer in use.

This change is a preparation to allow executing the
virtio_bus_set_host_notifier function in a memory region
transaction.

Signed-off-by: Gal Hammer <ghammer@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Tested-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2018-02-08 21:06:26 +02:00
..
2018-01-29 14:22:50 -05:00
2016-10-04 13:28:07 +01:00
2017-12-19 09:25:28 +00:00
2016-10-04 13:28:09 +01:00
2017-01-27 18:07:59 +01:00
2017-01-24 23:26:52 +03:00
2017-06-23 11:51:50 +02:00
2016-05-18 15:04:27 +03:00
2018-01-19 11:18:51 -02:00
2017-10-15 05:54:40 +03:00
2017-12-05 19:13:45 +02:00
2018-01-24 19:19:51 +00:00
2017-12-14 17:56:54 +01:00
2017-01-27 18:07:59 +01:00
2017-12-05 19:13:45 +02:00
2017-01-27 18:07:59 +01:00
2018-01-12 13:22:02 +01:00
2017-04-24 12:32:12 +01:00
2017-06-01 18:49:22 +02:00
2014-10-23 16:41:25 +02:00
2017-09-08 16:15:17 +03:00