diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-07-26 15:35:15 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-08-09 16:16:56 +0300 |
commit | 614e41bc26dda751321da47acb1f9cb287b52085 (patch) | |
tree | cebae99030003245232713e27ea8dbf342d4266b /target-i386 | |
parent | cc7e0ddf5a2307015eacfac2ac6a6a765898fcc3 (diff) |
kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip'
Decouple another x86-specific assumption about what irqchips imply.
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 8c28fca4b6..7a874ea73b 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -2048,7 +2048,9 @@ void kvm_arch_init_irq_routing(KVMState *s) no_hpet = 1; } /* We know at this point that we're using the in-kernel - * irqchip, so we can use irqfds. + * irqchip, so we can use irqfds, and on x86 we know + * we can use msi via irqfd. */ kvm_irqfds_allowed = true; + kvm_msi_via_irqfd_allowed = true; } |