Using a cleanup callback function (Version 2 of this patches) in order to support transactions fails when the same event notifier fd was used by more than one Memory Region.
This time I ask the caller to do the event notifier cleanup by himself. Gal Hammer (2): virtio: remove event notifier cleanup call on de-assign virtio: improve virtio devices initialization time hw/block/dataplane/virtio-blk.c | 2 ++ hw/scsi/virtio-scsi-dataplane.c | 2 ++ hw/virtio/vhost.c | 2 ++ hw/virtio/virtio-bus.c | 14 ++++++++++---- hw/virtio/virtio.c | 22 +++++++++++++++++++++- include/hw/virtio/virtio-bus.h | 2 ++ 6 files changed, 39 insertions(+), 5 deletions(-) -- 2.7.5