On Tue, Jun 03, 2025 at 01:03:05AM -0400, Xiaoyao Li wrote:
> Date: Tue,  3 Jun 2025 01:03:05 -0400
> From: Xiaoyao Li <xiaoyao...@intel.com>
> Subject: [PATCH 3/3] i386/tdx: Clarify the error message of
>  mrconfigid/mrowner/mrownerconfig
> X-Mailer: git-send-email 2.43.0
> 
> The error message is misleading - we successfully decoded the data,
> the decoded data was simply with the wrong length.
> 
> Change the error message to show it is an length check failure with both
> the received and expected values.
> 
> Suggested-by: Daniel P. Berrangé <berra...@redhat.com>
> Signed-off-by: Xiaoyao Li <xiaoyao...@intel.com>
> ---
> Suggested by Daniel at 
> https://lore.kernel.org/qemu-devel/abzt3trdldan-...@redhat.com/
> ---
>  target/i386/kvm/tdx.c | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)

Reviewed-by: Zhao Liu <zhao1....@intel.com>


Reply via email to