Thanks for the comments on the previous try. Here is some rework via KVM API rather than via PCI framework. Thanks!
Alexey Kardashevskiy (3): spapr pci msi: rework KVM: add kvm_arch_irqchip_add_msi_route KVM: PPC: enable irqfd hw/ppc/spapr.c | 2 + hw/ppc/spapr_pci.c | 97 ++++++++++++++++++++----------------------- include/hw/pci-host/spapr.h | 8 ++-- include/hw/ppc/spapr.h | 2 + include/sysemu/kvm.h | 1 + kvm-all.c | 5 +++ target-arm/kvm.c | 6 +++ target-i386/kvm.c | 6 +++ target-ppc/kvm.c | 12 ++++++ target-s390x/kvm.c | 6 +++ 10 files changed, 89 insertions(+), 56 deletions(-) -- 1.7.10.4