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-10-20 11:12:58 -0500
commitc8d643b0a350e2203fec459d41af831aabba9fcc (patch)
tree5adbcaaf7a5d0eaf1b3ba118873b0a4a112dd694
parentMerge tag 'v1.1.2' into stable-1.1 (diff)
downloadqemu-kvm-c8d643b0a350e2203fec459d41af831aabba9fcc.tar.gz
qemu-kvm-c8d643b0a350e2203fec459d41af831aabba9fcc.tar.bz2
qemu-kvm-c8d643b0a350e2203fec459d41af831aabba9fcc.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)
{