[PATCHv8 06/17] x86/mm: Make x86_platform.guest.enc_status_change_*() return errno
Huang, Kai
kai.huang at intel.com
Tue Feb 27 15:33:02 PST 2024
On 28/02/2024 10:24 am, Kirill A. Shutemov wrote:
> 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;
> enc_status_change_finish() changed too to keep the interface symmetric.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov at linux.intel.com>
> Reviewed-by: Dave Hansen <dave.hansen at intel.com>
> ---
Acked-by: Kai Huang <kai.huang at intel.com>
More information about the kexec
mailing list