Re: [PATCH 07/30] x86/virt/tdx: allocate tdx_sys_info in static memory
From: Huang, Kai
Date: Thu Feb 20 2025 - 16:59:39 EST
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>