Re: [Qemu-devel] [PATCH 01/12] event_notifier: enable it to use pipes

2012-07-19 Thread Anthony Liguori
Paolo Bonzini writes: > This takes the eventfd emulation code from the main loop and adds it > to EventNotifier. 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 > "read" side of the

[Qemu-devel] [PATCH 01/12] event_notifier: enable it to use pipes

2012-07-16 Thread Paolo Bonzini
This takes the eventfd emulation code from the main loop and adds it to EventNotifier. 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 "read" side of the notifier, for example to set a sele