[PATCHv7 06/16] x86/mm: Make x86_platform.guest.enc_status_change_*() return errno

Dave Hansen dave.hansen at intel.com
Fri Feb 23 10:26:53 PST 2024


On 2/12/24 02:44, 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.

Good riddance to the bools.

Reviewed-by: Dave Hansen <dave.hansen at intel.com>



More information about the kexec mailing list