]> git.proxmox.com Git - qemu.git/commit
virtio-pci: Disable virtio-ioeventfd when !CONFIG_IOTHREAD
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 25 Jan 2011 16:17:14 +0000 (16:17 +0000)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Jan 2011 09:03:00 +0000 (10:03 +0100)
commitd0dcac833a767dade968a07aba4d116f162ebc72
tree44424b95b63e18b1dc4bca9c40739664d959aa86
parente5051fc70807750f7a4798d2d83e159793c466d3
virtio-pci: Disable virtio-ioeventfd when !CONFIG_IOTHREAD

It is not possible to use virtio-ioeventfd when building without an I/O
thread.  We rely on a signal to kick us out of vcpu execution.  Timers
and AIO use SIGALRM and SIGUSR2 respectively.  Unfortunately eventfd
does not support O_ASYNC (SIGIO) so eventfd cannot be used in a signal
driven manner.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
kvm-all.c