On Wed, 2025-01-22 at 15:43 +0800, Xiaoyao Li wrote: > > Since we are not filtering by KVM supported features anymore, maybe just use > > the > > max leaf for the host CPU, like: > > host value is not matched with the value returned by TDX module. > I.e., On my SPR machine, the boot_cpu_data.cpuid_level is 0x20, while > TDX module returns 0x23. It at least fails to report the leaf 0x21 to > userspace, which is a always valid leaf for TD guest. Good point, we can use the cpuid level read from the TD.