On Thu, Jul 24, 2025, Nikunj A Dadhania wrote:
Sean Christopherson seanjc@google.com writes:
@@ -418,7 +418,18 @@ static int __sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp, if (data->vmsa_features & ~valid_vmsa_features) return -EINVAL;
if (data->ghcb_version > GHCB_VERSION_MAX || (!es_active &&
data->ghcb_version))
Any specific reason to get rid of the first check for GHCB_VERSION_MAX ?
Purely a goof on my part, I didn't intend to drop it.