kvm-all: Pass requester ID to MSI routing functions
authorPavel Fedin <p.fedin@samsung.com>
Tue, 4 Oct 2016 12:28:09 +0000 (13:28 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 4 Oct 2016 12:28:09 +0000 (13:28 +0100)
commit767a554a0c752cff1e1d17550aefd4e9dca881d6
treeb552f455753e97f9161d9054edf1e22d1773a065
parent1b20616f261f28ef971c2b40066b968206104501
kvm-all: Pass requester ID to MSI routing functions

Introduce global kvm_msi_use_devid flag plus associated
kvm_msi_devid_required() macro. Passes the device ID,
if needed, while building the MSI route entry. Device IDs are
required by the ARM GICv3 ITS (IRQ remapping function is based on
this information).

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Message-id: 1474616617-366-5-git-send-email-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
include/sysemu/kvm.h
kvm-all.c
kvm-stub.c