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

Huang, Kai kai.huang at intel.com
Tue Mar 26 03:30:19 PDT 2024


On Mon, 2024-03-25 at 12:39 +0200, 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>
> 

Reviewed-by: Kai Huang <kai.huang at intel.com>


More information about the kexec mailing list