mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
614e41bc26
commit
f3e1bed8da
4 changed files with 15 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue