Re: [PATCH v4 06/10] x86/virt/tdx: Convert the handoff metadata reader

From: Xu Yilun

Date: Wed Oct 14 2026 - 04:05:04 EST


On Mon, Oct 12, 2026 at 02:47:33AM -0700, Chao Gao wrote:
> Continue converting the metadata readers to the table-driven helper.
>
> Add a table that pairs each field ID with the 'struct
> tdx_sys_info_handoff' member that holds its value, and read all fields by
> walking that table.
>
> AI was used under supervision to review code and workshop logs
>
> Signed-off-by: Chao Gao <chao.gao@xxxxxxxxx>
> Reviewed-by: Rick Edgecombe <rick.p.edgecombe@xxxxxxxxx>

Reviewed-by: Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx>