summaryrefslogtreecommitdiffstats
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorPavel Fedin2016-10-04 14:28:09 +0200
committerPeter Maydell2016-10-04 14:28:09 +0200
commit767a554a0c752cff1e1d17550aefd4e9dca881d6 (patch)
treeb552f455753e97f9161d9054edf1e22d1773a065 /kvm-stub.c
parenttarget-arm: move gicv3_class_name from machine to kvm_arm.h (diff)
downloadqemu-767a554a0c752cff1e1d17550aefd4e9dca881d6.tar.gz
qemu-767a554a0c752cff1e1d17550aefd4e9dca881d6.tar.xz
qemu-767a554a0c752cff1e1d17550aefd4e9dca881d6.zip
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>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index 322712764f..b1b6b96c96 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -31,6 +31,7 @@ bool kvm_gsi_direct_mapping;
bool kvm_allowed;
bool kvm_readonly_mem_allowed;
bool kvm_ioeventfd_any_length_allowed;
+bool kvm_msi_use_devid;
int kvm_destroy_vcpu(CPUState *cpu)
{