Re: [PATCH v3 20/21] x86/virt/tdx: Add kernel command line to opt-in TDX host support

From: Dave Hansen
Date: Thu Apr 28 2022 - 13:25:47 EST


On 4/5/22 21:49, Kai Huang wrote:
> Enabling TDX consumes additional memory (used by TDX as metadata) and
> additional initialization time. Introduce a kernel command line to
> allow to opt-in TDX host kernel support when user truly wants to use
> TDX.

>From the cover letter:

"This series doesn't initialize TDX at boot time"

Could you please square that circle for me? How does a feature that
doesn't get initialized a boot time need a boot-time command line opt-in?