diff mbox

[RFC,v2,09/11] kvm: Enable use of kvm_irqchip_in_kernel in hwlib code

Message ID 5f8838f003e8982e8d7e0f8e70ec3a1bce8606ad.1337261556.git.jan.kiszka@web.de
State New
Headers show

Commit Message

Jan Kiszka May 17, 2012, 1:32 p.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

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>
---
 kvm-stub.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff mbox

Patch

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)
 {