aboutsummaryrefslogtreecommitdiff
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-05-17 10:32:37 -0300
committerAvi Kivity <avi@redhat.com>2012-05-21 19:22:50 +0300
commitbbf3b80401d55ac3339160cefa17f0015317f512 (patch)
tree2f10de2a21abff7616f66f4b57e4d717765c49f8 /kvm-stub.c
parent39853bbc497d4ca19c553a620afdc459e81d67ce (diff)
downloadqemu-bbf3b80401d55ac3339160cefa17f0015317f512.zip
qemu-bbf3b80401d55ac3339160cefa17f0015317f512.tar.gz
qemu-bbf3b80401d55ac3339160cefa17f0015317f512.tar.bz2
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>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index b4cf03f..ec9a364 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -18,6 +18,7 @@
#include "kvm.h"
KVMState *kvm_state;
+bool kvm_kernel_irqchip;
int kvm_init_vcpu(CPUArchState *env)
{