diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-26 15:35:16 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-08-09 16:16:57 +0300 |
commit | f3e1bed8daa35726d2731dd2a010fb91a5bb3792 (patch) | |
tree | 320076dc4d40b033e32b6cca95d810bc36d4e98a /target-i386 | |
parent | 614e41bc26dda751321da47acb1f9cb287b52085 (diff) | |
download | qemu-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.c | 3 |
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; } |