Re: [KVM PATCH v2 2/2] kvm: add support for irqfd via eventfd-notification interface

Avi Kivity
2009-04-28T11:08:48Z

Avi Kivity wrote:
>>
>> So what is your proposal for such interface?
>>
>>
>
> ->write().
>

Alternatively, a new fileop ->signal_event(), which would map to
eventfd_signal() or irqfd_signal(). This would be defined to work in
irq contexts. It may also be useful for uio interrupts.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.