From 614e41bc26dda751321da47acb1f9cb287b52085 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Thu, 26 Jul 2012 15:35:15 +0100 Subject: kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip' Decouple another x86-specific assumption about what irqchips imply. Signed-off-by: Peter Maydell Signed-off-by: Avi Kivity --- target-i386/kvm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'target-i386/kvm.c') 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; } -- cgit v1.2.1