]> Git Repo - qemu.git/blame - target/i386/kvm/kvm-stub.c
i386: Hyper-V Direct TLB flush hypercall
[qemu.git] / target / i386 / kvm / kvm-stub.c
CommitLineData
1d31f66b
PM
1/*
2 * QEMU KVM x86 specific function stubs
3 *
4 * Copyright Linaro Limited 2012
5 *
6 * Author: Peter Maydell <[email protected]>
7 *
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.
10 *
11 */
b6a0aa05 12#include "qemu/osdep.h"
33c11879 13#include "cpu.h"
1d31f66b
PM
14#include "kvm_i386.h"
15
2140cfa5 16#ifndef __OPTIMIZE__
355023f2
PB
17bool kvm_has_smm(void)
18{
19 return 1;
20}
21
fb506e70
RK
22bool kvm_enable_x2apic(void)
23{
24 return false;
25}
26
2140cfa5
PM
27/* This function is only called inside conditionals which we
28 * rely on the compiler to optimize out when CONFIG_KVM is not
29 * defined.
30 */
31uint32_t kvm_arch_get_supported_cpuid(KVMState *env, uint32_t function,
32 uint32_t index, int reg)
33{
34 abort();
35}
36#endif
e9688fab
RK
37
38bool kvm_hv_vpindex_settable(void)
39{
40 return false;
41}
071ce4b0
VK
42
43bool kvm_hyperv_expand_features(X86CPU *cpu, Error **errp)
44{
45 abort();
46}
This page took 0.487133 seconds and 4 git commands to generate.