aboutsummaryrefslogtreecommitdiff
path: root/target-i386/kvm-stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/kvm-stub.c')
-rw-r--r--target-i386/kvm-stub.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-i386/kvm-stub.c b/target-i386/kvm-stub.c
index cdf1506109..bda4dc2f0c 100644
--- a/target-i386/kvm-stub.c
+++ b/target-i386/kvm-stub.c
@@ -25,6 +25,11 @@ bool kvm_has_smm(void)
return 1;
}
+bool kvm_enable_x2apic(void)
+{
+ return false;
+}
+
/* This function is only called inside conditionals which we
* rely on the compiler to optimize out when CONFIG_KVM is not
* defined.