]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SEV: Consolidate logic for printing state of SEV{,-ES,-SNP} enabling
authorSean Christopherson <seanjc@google.com>
Thu, 16 Apr 2026 23:23:26 +0000 (16:23 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 13 May 2026 16:55:53 +0000 (09:55 -0700)
commit82bf8282444c03a8a61b718b3ba3582b0481e970
treeee3c598715dade7ac1a8a2e55a48c9eed6b5fb13
parentc2a02db765af244a9a221aac386245ed4513fb81
KVM: SEV: Consolidate logic for printing state of SEV{,-ES,-SNP} enabling

Add a helper to print enabled/unusable/disabled for SEV+ VM types in
anticipation of SNP also being subjecting to "unusable" logic.

No functional change intended.

Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Tested-by: Tycho Andersen (AMD) <tycho@kernel.org>
Link: https://patch.msgid.link/20260416232329.3408497-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c