Re: [PATCH 2/6] x86/virt/tdx: Configure add-on features on TDX module init and update

Dave Hansen <[email protected]>
Newsgroups dev.linux.lists.linux-coco,org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/20/26 20:29, Xu Yilun wrote:
>  static __init int tdx_sys_config(struct tdmr_info_pa_array *tdmr_pa_array,
> -				 u64 nr_tdmr_pa, u64 global_keyid)
> +				 u64 nr_tdmr_pa, u64 global_keyid,
> +				 u64 addon_features0)

addon_features0 is just a copy of the global, static, not changing
get_tdx_addon_features0() return code, right?

Why pass it around as a function argument?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.