mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
kvm: x86: Establish IRQ0 override control
KVM is forced to disable the IRQ0 override when we run with in-kernel irqchip but without IRQ routing support of the kernel. Set the fwcfg value correspondingly. This aligns us with qemu-kvm. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
84b058d7df
commit
9b5b76d449
6 changed files with 14 additions and 3 deletions
2
kvm.h
2
kvm.h
|
@ -53,6 +53,8 @@ int kvm_has_xcrs(void);
|
|||
int kvm_has_many_ioeventfds(void);
|
||||
int kvm_has_gsi_routing(void);
|
||||
|
||||
int kvm_allows_irq0_override(void);
|
||||
|
||||
#ifdef NEED_CPU_H
|
||||
int kvm_init_vcpu(CPUState *env);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue