|
From: Avi K. <av...@qu...> - 2008-04-15 09:28:08
|
Anders wrote: > >>> Why not enable SIGIO on stdio input, like the rest of the fd handling in >>> qemu? >>> >> Thats a possibility, but I think we've now agreed that doing select() with >> a timeout is cleaner and possibly half a cent faster. >> > > Since I can only follow this list as a hobby, I managed to miss that > discussion. Can somebody point me to the relevant thread, as I would find > it interesting? > > This was off-list. The point is, that with the iothread we don't need to rely on signals at all (qemu needs signals to break out of the emulation loop, kvm without iothread needs them to exit guest mode, but the iothread can simply sit in select() waiting for an fd to become active (or for aio to complete via a signal). -- error compiling committee.c: too many arguments to function |