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. Jan Kiszka (9): qemu-kvm: Drop unneeded kvm_irq_routing_entry declaration qemu-kvm: Rename kvm_msix_message to KVMMsiMessage qemu-kvm: Refactor MSI core API of KVM qemu-kvm: Fix and clean up msix vector use/unuse hooks qemu-kvm: Move gsi bits from kvm_msix_vector_add to kvm_msi_add_message qemu-kvm: Move entry comparison into kvm_msi_update_message qemu-kvm: Add in-kernel irqchip support for MSI qemu-kvm: Refresh MSI settings after vmload qemu-kvm: hpet: Add MSI support for in-kernel irqchip mode hw/hpet.c | 71 ++++++++++++++++++++++++++++++++++- hw/msi.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/msi.h | 1 + hw/msix.c | 73 ++++++++++++------------------------ hw/pci.c | 2 + hw/pci.h | 16 +++----- kvm.h | 20 ++++++---- qemu-kvm.c | 57 ++++++++++++++++++---------- 8 files changed, 276 insertions(+), 88 deletions(-) -- 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