Statistics
| Branch: | Revision:

root / event_notifier.h @ 06aac7bd

History | View | Annotate | Download (994 Bytes)

# Date Author Comment
fc97a652 10/30/2012 10:30 am Paolo Bonzini

event_notifier: add Win32 implementation

Signed-off-by: Paolo Bonzini <>

d0cc2fbf 10/30/2012 10:30 am Paolo Bonzini

event_notifier: enable it to use pipes

This takes the eventfd emulation code from the main loop. When the
EventNotifier is used for the main loop too, we need this compatibility
code.

Without CONFIG_EVENTFD, event_notifier_get_fd is only usable for the...

6bf819f0 07/12/2012 02:08 pm Paolo Bonzini

event_notifier: add event_notifier_set_handler

Win32 event notifiers are not file descriptors, so they will not be able
to use qemu_set_fd_handler. But even if for now we only have a POSIX
version of EventNotifier, we can add a specific function that wraps...

e80c262b 07/12/2012 02:08 pm Paolo Bonzini

event_notifier: add event_notifier_init_fd

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Avi Kivity <>

ebe7acea 07/12/2012 02:06 pm Paolo Bonzini

event_notifier: remove event_notifier_test

The function is useless (and unused).

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Avi Kivity <>

2ec10b95 07/12/2012 02:05 pm Paolo Bonzini

event_notifier: add event_notifier_set

EventNotifier right now cannot be used as an inter-thread communication
primitive. It only works if something else (the kernel) sets the eventfd.
Add a primitive to signal an EventNotifier that another thread is waiting...

6b620ca3 01/13/2012 06:55 pm Paolo Bonzini

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 Hat
employees and can be relicensed now.

Signed-off-by: Paolo Bonzini <>...

22844510 11/01/2011 11:52 pm Avi Kivity

event_notifier: move to top-level directory

Has no business in hw/.

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>