Re: [PATCH 0/1] uio_pci_generic: extensions to allow access for non-privileged processes

Avi Kivity
2010-04-01T16:20:29Z

On 04/01/2010 06:39 PM, Tom Lyon wrote:
>
>
>>> - support for MSI and MSI-X interrupts (the intel 82599 VFs support only
>>> MSI-X)
>>>
>> How does a userspace program receive those interrupts?
>>
> Same as other UIO drivers - by read()ing an event counter.
>

IIRC the usual event counter is /dev/uioX, what's your event counter now?

kvm really wants the event counter to be an eventfd, that allows hooking
it directly to kvm (which can inject an interrupt on an eventfd_signal),
can you adapt your patch to do this?

--
error compiling committee.c: too many arguments to function