I'm not fully happy with the cleanups yet, but I think it is a step forward. Moreover, it adds the critical support for classic MSI in irqchip mode. That makes AHCI and other MSI-using device models available for the standard KVM mode. So I decided to roll this out. Jan Kiszka (7): 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 hw/msi.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/msix.c | 73 +++++++++++++-------------------------- hw/pci.h | 16 +++----- kvm.h | 20 ++++++---- qemu-kvm.c | 57 ++++++++++++++++++++----------- 5 files changed, 190 insertions(+), 87 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