summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-17 10:32:37 -0300
committerDoug Goldstein <cardoe@cardoe.com>2012-07-21 08:21:05 -0500
commita063291e4c5660eea5b9c37f904dec60e84570b6 (patch)
tree7f34f65c22bddb3076075c302414947ffa70f665
parentMerge tag 'v1.1.1' into stable-1.1 (diff)
downloadqemu-kvm-a063291e4c5660eea5b9c37f904dec60e84570b6.tar.gz
qemu-kvm-a063291e4c5660eea5b9c37f904dec60e84570b6.tar.bz2
qemu-kvm-a063291e4c5660eea5b9c37f904dec60e84570b6.zip
kvm: Enable use of kvm_irqchip_in_kernel in hwlib code
Provide a dummy kvm_kernel_irqchip so that kvm_irqchip_in_kernel can be used by code that is not under CONFIG_KVM protection. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--kvm-stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index b630322f4..6cd50b740 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -17,6 +17,7 @@
#include "kvm.h"
KVMState *kvm_state;
+bool kvm_kernel_irqchip;
int kvm_init_vcpu(CPUArchState *env)
{