On 14/10/2016 16:00, Wang, Wei W wrote: >> Why would you do that instead of just using the local APIC?... > > The interrupt will be delivered to LAPIC - the hypercall hander > injects the interrupt via kvm_set_irq(kvm, GSI,..), which finally > uses LAPIC, right? But why do you need that? You can just deliver it to the appropriate local APIC interrupt, there's no need to know the GSI. The guest knows how it has configured the GSIs. You haven't explained the use case. Paolo -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html