KVM: nSVM: Use KVM-governed feature framework to track "Pause Filter enabled"
authorSean Christopherson <seanjc@google.com>
Tue, 15 Aug 2023 20:36:50 +0000 (13:36 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Aug 2023 18:43:30 +0000 (11:43 -0700)
commit59d67fc1f0dbb5ee8841d62140efe0fdc4fbabf5
tree81d2468361bdc00f52a5cff946f0c1b73eb5db70
parente183d17ac362655e5ef061760245b4402b9c04f8
KVM: nSVM: Use KVM-governed feature framework to track "Pause Filter enabled"

Track "Pause Filtering is exposed to L1" via governed feature flags
instead of using dedicated bits/flags in vcpu_svm.

No functional change intended.

Reviewed-by: Yuan Yao <yuan.yao@intel.com>
Link: https://lore.kernel.org/r/20230815203653.519297-13-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/governed_features.h
arch/x86/kvm/svm/nested.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h