qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH] virtio-pci: Disable virtio-ioeventfd when !


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Re: [PATCH] virtio-pci: Disable virtio-ioeventfd when !CONFIG_IOTHREAD
Date: Tue, 25 Jan 2011 14:20:36 +0000

On Tue, Jan 25, 2011 at 2:13 PM, Michael S. Tsirkin <address@hidden> wrote:
> On Tue, Jan 25, 2011 at 01:58:08PM +0000, Stefan Hajnoczi wrote:
>> 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 <address@hidden>
>
> I'd rather have the CONFIG_ ... mess contained in kvm-all.c
> which tests CONFIG_IOTHREAD anyway, than spread out
> to devices. Can we make kvm_has_many_ioeventfds check this?

Good idea.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]