Il 04/04/2012 18:05, Jan Kiszka ha scritto: >> > Perhaps you can take the relevant patches out of the thread-blocks >> > branch at git://github.com/pbonzini/qemu.git? The iothread eventfd >> > could also use an EventNotifier. > Yep, this screams for something like QemuEvent which pleases all users > of current qemu_eventfd and EventNotifier - and fit into the existing > threading/synchronization abstraction layout.
Kind of, on Unix you cannot poll synchronization primitives so EventNotifier has to remain separate from qemu-thread. > I retract patches 3&4, will be done on top of the event rework. Cool, thanks! Paolo