diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-17 10:32:37 -0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-05-21 19:22:50 +0300 |
commit | bbf3b80401d55ac3339160cefa17f0015317f512 (patch) | |
tree | 2f10de2a21abff7616f66f4b57e4d717765c49f8 /kvm-stub.c | |
parent | 39853bbc497d4ca19c553a620afdc459e81d67ce (diff) | |
download | qemu-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include "kvm.h" KVMState *kvm_state; +bool kvm_kernel_irqchip; int kvm_init_vcpu(CPUArchState *env) { |