Hi,
this patch adds all the eventfd bells and whistles from vl.c/cpus.c
to event_notifier, including pipe emulation and Win32 support.
It then modifies the iothread code to use it instead.
Paolo Bonzini (8):
move event_notifier into the main directory
add event_notifier_set
remove event_notifier_test
add and use virtqueue_from_guest_notifier
add and use event_notifier_set_handler
enable event_notifier to use pipes
add Win32 implementation of event notifiers
change ioevent to use event notifiers
cpus.c | 95 +++-----------------------------------
event_notifier.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++
event_notifier.h | 28 +++++++++++
hw/event_notifier.c | 62 -------------------------
hw/event_notifier.h | 16 -------
hw/virtio-pci.c | 11 ++---
hw/virtio.c | 5 ++
hw/virtio.h | 1 +
8 files changed, 171 insertions(+), 171 deletions(-)
create mode 100644 event_notifier.c
create mode 100644 event_notifier.h
delete mode 100644 hw/event_notifier.c
delete mode 100644 hw/event_notifier.h