Re: [PATCH v3 4/6] x86/virt/tdx: Make TDX module initialize the extensions
From: Edgecombe, Rick P
Date: Mon Oct 12 2026 - 14:15:52 EST
On Sun, 2026-10-11 at 00:56 +0800, Xu Yilun wrote:
> Good to me. I re-wrote a new version:
>
> TDX module extensions use kernel-gifted memory for their execution
> environment to serve SEAMCALL leafs. Several add-on features depend on
> the extensions to execute their SEAMCALL leafs.
>
> After providing all required memory to the TDX module, initialize TDX
> module extensions via TDH.EXT.INIT. This is a time-consuming process,
> during which the TDX module loads its internal extension image into this
> memory and builds the execution environment. Once initialized, those
> add-on features can use their SEAMCALL leafs normally.
Looks good. But I'd still wonder how "time consuming". Should we say on the
order of booting a tiny VM? Maybe we don't know and that^ is the best we can do.