On 04/26/2011 04:19 PM, Jan Kiszka wrote:
I've still plans to consolidate MSI-X mask notifiers and KVM hooks, but that can wait until we go upstream. This version still makes classic MSI usable in irqchip mode, now not only for PCI devices (AHCI, HDA) but also for the HPET (with msi=on). Moreover, it contains an additional patch to refresh the MSI IRQ routes after vmload.
Patches 1-8 applied, thanks. I'm not sure about 9 (hpet kvm msi integration) - it seems very intrusive to do this to every msi-supporting device. At least for pci we get all pci devices done in one shot.
We could do this transparently in hw/apic.c. When the message is sent for the first time we look it up, fail, and update the kvm routing entry. Next time the lookup succeeds and we just use KVM_IRQ_LINE, until the message changes and we need to update the irq entry again.
-- error compiling committee.c: too many arguments to function -- 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