提交 bbf3b804 编写于 作者: J Jan Kiszka 提交者: Avi Kivity

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: NJan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: NAvi Kivity <avi@redhat.com>
上级 39853bbc
......@@ -18,6 +18,7 @@
#include "kvm.h"
KVMState *kvm_state;
bool kvm_kernel_irqchip;
int kvm_init_vcpu(CPUArchState *env)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册