summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/governed_features.h
blob: 22446614bf49d724c3e5326b2af0f0b631999928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
#if !defined(KVM_GOVERNED_FEATURE) || defined(KVM_GOVERNED_X86_FEATURE)
BUILD_BUG()
#endif

#define KVM_GOVERNED_X86_FEATURE(x) KVM_GOVERNED_FEATURE(X86_FEATURE_##x)

KVM_GOVERNED_X86_FEATURE(GBPAGES)
KVM_GOVERNED_X86_FEATURE(XSAVES)
KVM_GOVERNED_X86_FEATURE(VMX)

#undef KVM_GOVERNED_X86_FEATURE
#undef KVM_GOVERNED_FEATURE