2023-08-15 13:36:39 -07:00
|
|
|
/* 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)
|
|
|
|
|
2023-08-15 13:36:40 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(GBPAGES)
|
2023-08-15 13:36:44 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(XSAVES)
|
2023-08-15 13:36:45 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(VMX)
|
2023-08-15 13:36:46 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(NRIPS)
|
2023-08-15 13:36:47 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(TSCRATEMSR)
|
2023-08-15 13:36:48 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(V_VMSAVE_VMLOAD)
|
2023-08-15 13:36:49 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(LBRV)
|
2023-08-15 13:36:50 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(PAUSEFILTER)
|
|
|
|
KVM_GOVERNED_X86_FEATURE(PFTHRESHOLD)
|
2023-08-15 13:36:51 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(VGIF)
|
2023-08-15 13:36:52 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(VNMI)
|
2023-09-13 05:42:24 -07:00
|
|
|
KVM_GOVERNED_X86_FEATURE(LAM)
|
2023-08-15 13:36:40 -07:00
|
|
|
|
2023-08-15 13:36:39 -07:00
|
|
|
#undef KVM_GOVERNED_X86_FEATURE
|
|
|
|
#undef KVM_GOVERNED_FEATURE
|