From bbf3b80401d55ac3339160cefa17f0015317f512 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Thu, 17 May 2012 10:32:37 -0300 Subject: 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 Signed-off-by: Avi Kivity --- kvm-stub.c | 1 + 1 file changed, 1 insertion(+) (limited to 'kvm-stub.c') diff --git a/kvm-stub.c b/kvm-stub.c index b4cf03fb7f..ec9a36454d 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) { -- cgit v1.2.3