]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SEV: Move standard VM-scoped helpers to detect SEV+ guests to sev.c
authorSean Christopherson <seanjc@google.com>
Tue, 10 Mar 2026 23:48:18 +0000 (16:48 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 8 Apr 2026 23:04:26 +0000 (16:04 -0700)
commit7341500f8b8624616f3760206765b1ea01e2b849
treec22b376433d9fbb7e1dcafa6bca3115a72615ecf
parent56906910ea3084cbe82b9078a561130a6203f978
KVM: SEV: Move standard VM-scoped helpers to detect SEV+ guests to sev.c

Now that all external usage of the VM-scoped APIs to detect SEV+ guests is
gone, drop the stubs provided for CONFIG_KVM_AMD_SEV=n builds and bury the
"standard" APIs in sev.c.

No functional change intended.

Link: https://patch.msgid.link/20260310234829.2608037-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c
arch/x86/kvm/svm/svm.h