Re: [PATCH v3 3/6] x86/virt/tdx: Add extra memory to TDX module for the extensions

From: Edgecombe, Rick P

Date: Mon Oct 12 2026 - 18:44:47 EST


On Sat, 2026-10-10 at 11:20 +0800, Xu Yilun wrote:
> I prefer the 2nd one. I also want to rename the sysinfo_ext to ext, to
> make the field short enough for direct usage everywhere.
>
>   struct tdx_sys_info ext ext;
>
>   ret = get_tdx_sys_info_ext(&ext);
>   if (ret)
> return ret;
>
>   if (!ext.required_pages)
> return 0;
>
>   ...

Ok to me.