diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-10-15 14:08:26 +0200 |
---|---|---|
committer | Jan Kiszka <jan.kiszka@siemens.com> | 2012-01-19 12:14:42 +0100 |
commit | 9b5b76d44930dc9266bb6d30862704cb3c86d2ca (patch) | |
tree | cf2c3fef0b9925485ce7e58579ec19367e74a8c4 /kvm.h | |
parent | 84b058d7df1e75543ef7422d97b039cd413f68f1 (diff) |
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>
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |