diff options
author | Kirill A. Shutemov <[email protected]> | 2024-06-14 12:58:52 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <[email protected]> | 2024-06-17 17:45:53 +0200 |
commit | 99c5c4c60e0db1d2ff58b8a61c93b6851146469f (patch) | |
tree | dc932b348e2e477be0c4866649e1a1572245325b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | de60613173dfd75a10f6aa8e001bbcafa242e623 (diff) |
x86/mm: Make x86_platform.guest.enc_status_change_*() return an error
TDX is going to have more than one reason to fail enc_status_change_prepare().
Change the callback to return errno instead of assuming -EIO. Change
enc_status_change_finish() too to keep the interface symmetric.
Signed-off-by: Kirill A. Shutemov <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Reviewed-by: Dave Hansen <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Reviewed-by: Michael Kelley <[email protected]>
Tested-by: Tao Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions