governed_features.h (59d67fc1f0dbb5ee8841d62140efe0fdc4fbabf5) governed_features.h (b89456aee78d22b20c6c83c4d75af7985ae5be8d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#if !defined(KVM_GOVERNED_FEATURE) || defined(KVM_GOVERNED_X86_FEATURE)
3BUILD_BUG()
4#endif
5
6#define KVM_GOVERNED_X86_FEATURE(x) KVM_GOVERNED_FEATURE(X86_FEATURE_##x)
7
8KVM_GOVERNED_X86_FEATURE(GBPAGES)
9KVM_GOVERNED_X86_FEATURE(XSAVES)
10KVM_GOVERNED_X86_FEATURE(VMX)
11KVM_GOVERNED_X86_FEATURE(NRIPS)
12KVM_GOVERNED_X86_FEATURE(TSCRATEMSR)
13KVM_GOVERNED_X86_FEATURE(V_VMSAVE_VMLOAD)
14KVM_GOVERNED_X86_FEATURE(LBRV)
15KVM_GOVERNED_X86_FEATURE(PAUSEFILTER)
16KVM_GOVERNED_X86_FEATURE(PFTHRESHOLD)
1/* SPDX-License-Identifier: GPL-2.0 */
2#if !defined(KVM_GOVERNED_FEATURE) || defined(KVM_GOVERNED_X86_FEATURE)
3BUILD_BUG()
4#endif
5
6#define KVM_GOVERNED_X86_FEATURE(x) KVM_GOVERNED_FEATURE(X86_FEATURE_##x)
7
8KVM_GOVERNED_X86_FEATURE(GBPAGES)
9KVM_GOVERNED_X86_FEATURE(XSAVES)
10KVM_GOVERNED_X86_FEATURE(VMX)
11KVM_GOVERNED_X86_FEATURE(NRIPS)
12KVM_GOVERNED_X86_FEATURE(TSCRATEMSR)
13KVM_GOVERNED_X86_FEATURE(V_VMSAVE_VMLOAD)
14KVM_GOVERNED_X86_FEATURE(LBRV)
15KVM_GOVERNED_X86_FEATURE(PAUSEFILTER)
16KVM_GOVERNED_X86_FEATURE(PFTHRESHOLD)
17KVM_GOVERNED_X86_FEATURE(VGIF)
17
18#undef KVM_GOVERNED_X86_FEATURE
19#undef KVM_GOVERNED_FEATURE
18
19#undef KVM_GOVERNED_X86_FEATURE
20#undef KVM_GOVERNED_FEATURE