]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
kvm: extend kvm_irqchip_add_msi_route to work on s390
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Fri, 9 Jan 2015 08:04:40 +0000 (09:04 +0100)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 12 Jan 2015 09:14:04 +0000 (10:14 +0100)
commit9e03a0405d56b4af8952b794d0e5dd9206ee7329
tree154f3bf6d8cb1762fe4c1628553919308a3bc343
parent863f6f52b7134304234ea81554f62f54afb016fa
kvm: extend kvm_irqchip_add_msi_route to work on s390

on s390 MSI-X irqs are presented as thin or adapter interrupts
for this we have to reorganize the routing entry to contain
valid information for the adapter interrupt code on s390.
To minimize impact on existing code we introduce an architecture
function to fixup the routing entry.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
include/sysemu/kvm.h
kvm-all.c
target-arm/kvm.c
target-i386/kvm.c
target-mips/kvm.c
target-ppc/kvm.c
target-s390x/kvm.c