mbox series

[0/2] KVM: SEV: Fall back to __vmalloc() for SEV-ES scratch

Message ID 20211109222350.2266045-1-seanjc@google.com (mailing list archive)
Headers show
Series KVM: SEV: Fall back to __vmalloc() for SEV-ES scratch | expand

Message

Sean Christopherson Nov. 9, 2021, 10:23 p.m. UTC
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(-)