x86/tdx: Allow extended topology CPUID leafs to be emulated by hypercall
The current TDX module does not handle extended topology leaves
explicitly and will generate a #VE but the current #VE handler
implementation blindly returns 0 for those CPUID leaves.
This currently causes TDX guests to see 0 values when querying the numa
topology leading to incorrect numa configurations.
This patch fixes this behavior by emulating the extended topology leaves
using the CPUID hypercall.
Change-Id: I427807e3ac8d9e3be50a6fac40ebd3f54b445b0c
Signed-off-by: Sagi Shahar <sagis@google.com>
1 file changed