Re: [PATCH v11 10/20] x86/virt/tdx: Add placeholder to construct TDMRs to cover all TDX memory regions

From: Dave Hansen
Date: Wed Jun 07 2023 - 11:57:24 EST


On 6/4/23 07:27, Kai Huang wrote:
> +struct tdmr_info_list {
> + void *tdmrs; /* Flexible array to hold 'tdmr_info's */
> + int nr_consumed_tdmrs; /* How many 'tdmr_info's are in use */

I'm looking back here after seeing the weird cast in the next patch.

Why is this a void* instead of a _real_ type?