hw/xen/xen_pt_load_rom: Remove unused includes
[qemu.git] / target / i386 / kvm-stub.c
blob872ef7df4c88024213c5e216210498eabde34418
1 /*
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"
13 #include "cpu.h"
14 #include "kvm_i386.h"
16 bool kvm_allows_irq0_override(void)
18 return 1;
21 #ifndef __OPTIMIZE__
22 bool kvm_has_smm(void)
24 return 1;
27 bool kvm_enable_x2apic(void)
29 return false;
32 /* This function is only called inside conditionals which we
33 * rely on the compiler to optimize out when CONFIG_KVM is not
34 * defined.
36 uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
37 uint32_t index, int reg)
39 abort();
41 #endif
43 bool kvm_hv_vpindex_settable(void)
45 return false;