Re: [PATCH 00/25] TDX vCPU/VM creation

Edgecombe, Rick P
2024-08-15T23:46:03Z

On Thu, 2024-08-15 at 08:20 +0300, Tony Lindgren wrote:
> We can generate a TDX suitable default CPUID configuration by adding
> KVM_GET_SUPPORTED_TDX_CPUID. This would handled similar to the existing
> KVM_GET_SUPPORTED_CPUID and KVM_GET_SUPPORTED_HV_CPUID.

What problem are you suggesting to solve with it? To give something to userspace
to say "please filter these out yourself?"

From the thread with Sean on this series, it seems maybe we won't need the
filtering in any case.

Sorry if I missed your point. KVM_GET_SUPPORTED_HV_CPUID only returns a few
extra entries associated with HV, right? I'm not following the connection to
what TDX needs here.

>
> Or are there some reasons to avoid adding this?