]> git.proxmox.com Git - mirror_qemu.git/commit - kvm-all.c
kvm: introduce kvm_arch_msi_data_to_gsi
authorEric Auger <eric.auger@linaro.org>
Tue, 2 Jun 2015 13:56:23 +0000 (14:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 Jun 2015 13:56:25 +0000 (14:56 +0100)
commit1850b6b7d027bb4b45010a7d1da919267fff2cd4
tree3b09b37bef4e6553dca6c55a1d01f603c1058f35
parent0b2ff2ceb8a45cbe51ca13a1a32fc5bdeec71815
kvm: introduce kvm_arch_msi_data_to_gsi

On ARM the MSI data corresponds to the shared peripheral interrupt (SPI)
ID. This latter equals to the SPI index + 32. to retrieve the SPI index,
matching the gsi, an architecture specific function is introduced.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
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