[PATCH Part2 RFC v2 37/37] KVM: SVM: Advertise the SEV-SNP feature support

From: Brijesh Singh
Date: Fri Apr 30 2021 - 08:43:46 EST


Now that KVM supports all the VMGEXIT NAEs required for the base SEV-SNP
feature, set the hypervisor feature to advertise it.

Signed-off-by: Brijesh Singh <brijesh.singh@xxxxxxx>
---
arch/x86/kvm/svm/svm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h
index ecd466721c23..f344ffd5afd6 100644
--- a/arch/x86/kvm/svm/svm.h
+++ b/arch/x86/kvm/svm/svm.h
@@ -553,7 +553,7 @@ void svm_vcpu_unblocking(struct kvm_vcpu *vcpu);
#define GHCB_VERSION_MAX 2ULL
#define GHCB_VERSION_MIN 1ULL

-#define GHCB_HV_FEATURES_SUPPORTED 0
+#define GHCB_HV_FEATURES_SUPPORTED GHCB_HV_FEATURES_SNP

extern unsigned int max_sev_asid;

--
2.17.1