diff options
| author | Borislav Petkov (AMD) <[email protected]> | 2023-02-15 10:39:41 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-03-13 10:27:10 +0000 |
| commit | 970ab823743fb54b42002ec76c51481f67436444 (patch) | |
| tree | 320aa2eae62a9e750a525f464871e375d0154099 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | virt/coco/sev-guest: Check SEV_SNP attribute at probe time (diff) | |
| download | kernel-970ab823743fb54b42002ec76c51481f67436444.tar.gz kernel-970ab823743fb54b42002ec76c51481f67436444.zip | |
virt/coco/sev-guest: Simplify extended guest request handling
Return a specific error code - -ENOSPC - to signal the too small cert
data buffer instead of checking exit code and exitinfo2.
While at it, hoist the *fw_err assignment in snp_issue_guest_request()
so that a proper error value is returned to the callers.
[ Tom: check override_err instead of err. ]
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
