Use signalfd() in io-thread
commit5a7fdd0abd7cd24dac205317a4195446ab8748b5
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 7 May 2008 16:55:47 +0000 (7 11:55 -0500)
committerAvi Kivity <avi@qumranet.com>
Thu, 8 May 2008 17:38:24 +0000 (8 20:38 +0300)
treebcdf0c70a8d5ed596fd867f4100b53696f25ae27
parent4b3640d171f19bcd4bbc835cfaa8d94a9608ffa8
Use signalfd() in io-thread

This patch reworks the IO thread to use signalfd() instead of sigtimedwait().
This will eliminate the need to use SIGIO everywhere.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu-kvm.c
qemu-kvm.h
vl.c