Skip to content

qemu-kvm: Clean up and enhance MSI irqchip support

Jan Kiszka kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7qemu-kvm: Drop unneeded kvm_irq_routing_entry declarationhw/pci.h+0 -20 replies
2/7qemu-kvm: Rename kvm_msix_message to KVMMsiMessagehw/msix.c hw/pci.h kvm.h+14 -138 replies
3/7qemu-kvm: Refactor MSI core API of KVMhw/msix.c kvm.h qemu-kvm.c+22 -380 replies
4/7qemu-kvm: Fix and clean up msix vector use/unuse hookshw/msix.c+6 -111 reply
5/7qemu-kvm: Move gsi bits from kvm_msix_vector_add to kvm_msi_add_messagehw/msix.c qemu-kvm.c+11 -133 replies
6/7qemu-kvm: Move entry comparison into kvm_msi_update_messagehw/msix.c qemu-kvm.c+26 -140 replies
7/7qemu-kvm: Add in-kernel irqchip support for MSIhw/msi.c hw/pci.h+115 -02 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchMichael S. Tsirkin
1/7
2/7
3/7
4/7A-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] qemu-kvm: Clean up and enhance MSI irqchip support

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(-)