Re: [PATCH 2/2] x86/virt/tdx: Print TDX module version during init
From: Verma, Vishal L
Date: Thu Jan 08 2026 - 15:38:56 EST
On Thu, 2026-01-08 at 20:24 +0000, Edgecombe, Rick P wrote:
> On Wed, 2026-01-07 at 17:31 -0700, Vishal Verma wrote:
> > It is useful to print the TDX module version in dmesg logs. This allows
> > for a quick spot check for whether the correct/expected TDX module is
> > being loaded, and also creates a record for any future problems being
> > investigated.
> >
>
> It is more then a spot check, it's the only way to know which version is loaded.
I'll update to:
It is useful to print the TDX module version in dmesg logs. This is
currently the only way to determine the module version from the host. It
also creates a record for...
>
> > This was also requested in [1].
> >
> > Include the version in the log messages during init, e.g.:
> >
> > virt/tdx: TDX module version: 1.5.24
> > virt/tdx: 1034220 KB allocated for PAMT
> > virt/tdx: module initialized
> >
> > ..followed by remaining TDX initialization messages (or errors).
>
> The TDX initialization errors would be before "module initialized", right?
Yep, I think this whole line can just be removed to avoid confusion.