aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-07-26 15:35:16 +0100
committerAvi Kivity <avi@redhat.com>2012-08-09 16:16:57 +0300
commitf3e1bed8daa35726d2731dd2a010fb91a5bb3792 (patch)
tree320076dc4d40b033e32b6cca95d810bc36d4e98a /target-i386
parent614e41bc26dda751321da47acb1f9cb287b52085 (diff)
downloadqemu-f3e1bed8daa35726d2731dd2a010fb91a5bb3792.zip
qemu-f3e1bed8daa35726d2731dd2a010fb91a5bb3792.tar.gz
qemu-f3e1bed8daa35726d2731dd2a010fb91a5bb3792.tar.bz2
kvm: Decouple 'GSI routing' from 'kernel irqchip'
Don't assume having an in-kernel irqchip means that GSI routing is enabled. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/kvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 7a874ea..696b14a 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -2049,8 +2049,9 @@ void kvm_arch_init_irq_routing(KVMState *s)
}
/* We know at this point that we're using the in-kernel
* irqchip, so we can use irqfds, and on x86 we know
- * we can use msi via irqfd.
+ * we can use msi via irqfd and GSI routing.
*/
kvm_irqfds_allowed = true;
kvm_msi_via_irqfd_allowed = true;
+ kvm_gsi_routing_allowed = true;
}