Re: [PATCH v2 06/11] x86/hvm: allowing registering EOI callbacks for GSIs

2020-10-23 Thread Jan Beulich
On 30.09.2020 12:41, Roger Pau Monne wrote: > --- a/xen/arch/x86/hvm/irq.c > +++ b/xen/arch/x86/hvm/irq.c > @@ -595,6 +595,66 @@ int hvm_local_events_need_delivery(struct vcpu *v) > return !hvm_interrupt_blocked(v, intack); > } > > +int hvm_gsi_register_callback(struct domain *d, unsigned i

[PATCH v2 06/11] x86/hvm: allowing registering EOI callbacks for GSIs

2020-09-30 Thread Roger Pau Monne
Such callbacks will be executed once a EOI is performed by the guest, regardless of whether the interrupts are injected from the vIO-APIC or the vPIC, as ISA IRQs are translated to GSIs and then the corresponding callback is executed at EOI. The vIO-APIC infrastructure for handling EOIs is build o