2 * QEMU KVM x86 specific function stubs
4 * Copyright Linaro Limited 2012
6 * Author: Peter Maydell <peter.maydell@linaro.org>
8 * This work is licensed under the terms of the GNU GPL, version 2 or later.
9 * See the COPYING file in the top-level directory.
12 #include "qemu/osdep.h"
17 bool kvm_has_smm(void)
22 bool kvm_enable_x2apic(void)
27 /* This function is only called inside conditionals which we
28 * rely on the compiler to optimize out when CONFIG_KVM is not
31 uint32_t kvm_arch_get_supported_cpuid(KVMState
*env
, uint32_t function
,
32 uint32_t index
, int reg
)
38 bool kvm_hv_vpindex_settable(void)
43 bool kvm_hyperv_expand_features(X86CPU
*cpu
, Error
**errp
)
48 void kvm_set_max_apic_id(uint32_t max_apic_id
)