]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SEV: Turn sev_es_validate_vmgexit() into a dedicated predicate
authorSean Christopherson <seanjc@google.com>
Fri, 29 May 2026 18:35:48 +0000 (20:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 3 Jun 2026 14:59:19 +0000 (16:59 +0200)
commitabb97ac118f03cb2f5007edb1cf9d4e9d53704df
tree9fee074fb28b6181cff6f54f0b90de047e11641d
parentb9114841777021ddc3b975c05fd5998a47b44587
KVM: SEV: Turn sev_es_validate_vmgexit() into a dedicated predicate

Now that sev_es_validate_vmgexit() is only responsible for checking that
all required GHCB fields are marked valid, turn it into a predicate whose
name reflects exactly that.

No functional change intended.

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Michael Roth <michael.roth@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20260501202250.2115252-24-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20260529183549.1104619-24-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/sev.c