| /* 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) |
| KVM_GOVERNED_X86_FEATURE(NRIPS) |
| KVM_GOVERNED_X86_FEATURE(TSCRATEMSR) |
| KVM_GOVERNED_X86_FEATURE(V_VMSAVE_VMLOAD) |
| KVM_GOVERNED_X86_FEATURE(LBRV) |
| KVM_GOVERNED_X86_FEATURE(PAUSEFILTER) |
| KVM_GOVERNED_X86_FEATURE(PFTHRESHOLD) |
| KVM_GOVERNED_X86_FEATURE(VGIF) |
| KVM_GOVERNED_X86_FEATURE(VNMI) |
| KVM_GOVERNED_X86_FEATURE(LAM) |
| |
| #undef KVM_GOVERNED_X86_FEATURE |
| #undef KVM_GOVERNED_FEATURE |