[PATCH 0/2] KVM: SEV: Fall back to __vmalloc() for SEV-ES scratch
From: Sean Christopherson
Date: Tue Nov 09 2021 - 17:51:48 EST
Two cleanups related to handling failure to setup the GHCB scratch area
for SEV-ES. Found by inspection when reviewing the SNP series. Compile
tested only.
Sean Christopherson (2):
KVM: SEV: Return appropriate error codes if SEV-ES scratch setup fails
KVM: SEV: Fall back to __vmalloc() for SEV-ES scratch area if
necessary
arch/x86/kvm/svm/sev.c | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
--
2.34.0.rc0.344.g81b53c2807-goog