History | View | Annotate | Download (1.3 kB)
event_notifier: add event_notifier_set_handler
Win32 event notifiers are not file descriptors, so they will not be ableto use qemu_set_fd_handler. But even if for now we only have a POSIXversion of EventNotifier, we can add a specific function that wraps...
event_notifier: add event_notifier_init_fd
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Avi Kivity <avi@redhat.com>
event_notifier: remove event_notifier_test
The function is useless (and unused).
event_notifier: add event_notifier_set
EventNotifier right now cannot be used as an inter-thread communicationprimitive. It only works if something else (the kernel) sets the eventfd.Add a primitive to signal an EventNotifier that another thread is waiting...
prepare for future GPLv2+ relicensing
All files under GPLv2 will get GPLv2+ changes starting tomorrow.event_notifier.c and exec-obsolete.h were only ever touched by Red Hatemployees and can be relicensed now.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>...
event_notifier: move to top-level directory
Has no business in hw/.
Signed-off-by: Avi Kivity <avi@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>