Re: [PATCHv2 01/12] x86/tdx: Consolidate TDX error handling

From: Edgecombe, Rick P
Date: Wed Jul 30 2025 - 14:33:46 EST


On Thu, 2025-06-26 at 00:05 +0000, Huang, Kai wrote:
> But as you suggested, I think it's better to split this patch into two:
>
>  - One patch to just move error code from tdx_error.h in KVM and TDX guest
> code to <asm/tdx_error.h>.
>  - One patch to further introduce those helpers (tdx_rnd_no_entropy() etc)
> and actually use them in the code.
>
> It will be easier to review anyway.

Agree, this patch tries to do too much.