mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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>
This commit is contained in:
parent
cc7e0ddf5a
commit
614e41bc26
5 changed files with 18 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue