Re: [RFC PATCH v2 16/18] KVM: TDX: Derive error argument names from the local variable names
From: Edgecombe, Rick P
Date: Fri Aug 29 2025 - 20:00:37 EST
On Thu, 2025-08-28 at 17:06 -0700, Sean Christopherson wrote:
> When printing SEAMCALL errors, use the name of the variable holding an
> error parameter instead of the register from whence it came, so that flows
> which use descriptive variable names will similarly print descriptive
> error messages.
>
> Suggested-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
> ---
Tested that it actually prints out what is expected.