Re: [PATCH v12 07/22] x86/virt/tdx: Add skeleton to enable TDX on demand
From: Peter Zijlstra
Date: Fri Jun 30 2023 - 05:26:42 EST
On Thu, Jun 29, 2023 at 12:10:00AM +0000, Huang, Kai wrote:
> On Wed, 2023-06-28 at 15:17 +0200, Peter Zijlstra wrote:
> > On Tue, Jun 27, 2023 at 02:12:37AM +1200, Kai Huang wrote:
> > > +EXPORT_SYMBOL_GPL(tdx_cpu_enable);
> >
> > I can't find a single caller of this.. why is this exported?
>
> It's for KVM TDX patch to use, which isn't in this series.
>
> I'll remove the export. KVM TDX series can export it.
Fair enough; where will the KVM TDX series call this? Earlier there was
talk about doing it at kvm module load time -- but I objected (and still
do object) to that.
What's the current plan?