Re: [PATCH v3 05/21] x86/virt/tdx: Detect P-SEAMLDR and TDX module

From: Dave Hansen
Date: Tue Apr 26 2022 - 16:53:29 EST

On 4/5/22 21:49, Kai Huang wrote:
> The P-SEAMLDR (persistent SEAM loader) is the first software module that
> runs in SEAM VMX root, responsible for loading and updating the TDX
> module. Both the P-SEAMLDR and the TDX module are expected to be loaded
> before host kernel boots.

Why bother with the P-SEAMLDR here at all? The kernel isn't loading the
TDX module in this series. Why not just call into the TDX module directly?