]> Gentwo Git Trees - linux/.git/commit
KVM: SVM: Move SEV-ES VMSA allocation to a dedicated sev_vcpu_create() helper
authorSean Christopherson <seanjc@google.com>
Tue, 19 Aug 2025 23:48:29 +0000 (16:48 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 21 Aug 2025 15:44:49 +0000 (08:44 -0700)
commit34bd82aab15b8b9e8e9d923267283c84aa8c2789
tree8c83014de8cb6860d95cb0cbcfa4647a499d1a73
parent7b59c73fd611eae87e60e8bb0ab83a1475d8a3a7
KVM: SVM: Move SEV-ES VMSA allocation to a dedicated sev_vcpu_create() helper

Add a dedicated sev_vcpu_create() helper to allocate the VMSA page for
SEV-ES+ vCPUs, and to allow for consolidating a variety of related SEV+
code in the near future.

No functional change intended.

Reviewed-by: Nikunj A Dadhania <nikunj@amd.com>
Link: https://lore.kernel.org/r/20250819234833.3080255-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c
arch/x86/kvm/svm/svm.c
arch/x86/kvm/svm/svm.h