Re: [PATCH 0/2] eventfd: new EFD_STATE flag

From: Michael S. Tsirkin
Date: Sun Aug 23 2009 - 09:37:54 EST


On Sun, Aug 23, 2009 at 04:01:29PM +0300, Avi Kivity wrote:
> On 08/20/2009 09:28 PM, Michael S. Tsirkin wrote:
>>>> I thought the point was to move assigned devices out of KVM?
>>>>
>>>>
>>> Grr. Forgot about that.
>>>
>>> That's much more important.
>>>
>> Looks like we'll have do with a separate char device or
>> something?
>>
>
> We can still tunnel it through userspace.

More important here is realization that eventfd is a mutex/semaphore
implementation, not a generic event reporting interface as we are trying
to use it.

> Most assigned devices will
> have MSI. uio can signal the eventfd when the level changes, qemu can
> read the level and write it to kvm.
> --
> error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/