diff options
| author | Sean Christopherson <[email protected]> | 2021-11-09 22:23:49 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-12-05 08:02:03 +0000 |
| commit | 75236f5f2299b502e4b9b267c1ce3bc14a222ceb (patch) | |
| tree | cd975d129d4ce75408f5e5394815eeb674fb6895 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | KVM: x86/mmu: Retry page fault if root is invalidated by memslot update (diff) | |
| download | kernel-75236f5f2299b502e4b9b267c1ce3bc14a222ceb.tar.gz kernel-75236f5f2299b502e4b9b267c1ce3bc14a222ceb.zip | |
KVM: SEV: Return appropriate error codes if SEV-ES scratch setup fails
Return appropriate error codes if setting up the GHCB scratch area for an
SEV-ES guest fails. In particular, returning -EINVAL instead of -ENOMEM
when allocating the kernel buffer could be confusing as userspace would
likely suspect a guest issue.
Fixes: 8f423a80d299 ("KVM: SVM: Support MMIO for an SEV-ES guest")
Cc: Tom Lendacky <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
