On Thu, 2025-02-20 at 12:05 -0500, Paolo Bonzini wrote: > Adding all the information that KVM needs increases the size of struct > tdx_sys_info, to the point that you can get warnings about the stack > size of init_tdx_module(). Since KVM also needs to read the TDX metadata > after init_tdx_module() returns, make the variable a global. > > Signed-off-by: Paolo Bonzini <pbonzini@xxxxxxxxxx> > Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>