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