Re: [RFC PATCH 4/5] APIC/IOAPIC EOI callback

Avi Kivity
2010-07-11T18:14:17Z

On 07/11/2010 09:09 PM, Alex Williamson wrote:
> For device assignment, we need to know when the VM writes an end
> of interrupt to the APIC, which allows us to de-assert the interrupt
> line and clear the DisINTx bit. Add a new wrapper for ioapic
> generated interrupts with a callback on eoi and create an interface
> for drivers to be notified on eoi.
>

You aren't going to get this with kvm's in-kernel irqchip, so we need a
new interface there.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.