Re: [RFC PATCH v5 024/104] KVM: TDX: create/destroy VM structure

From: Kai Huang
Date: Thu Mar 31 2022 - 19:41:20 EST


On Thu, 2022-03-31 at 15:12 -0700, Isaku Yamahata wrote:
> > It's really not clear why you need to know tdx_global_keyid in the context
> > of
> > creating/destroying a TD.
>
> TDX module mpas TDR with TDX global key id. This page includes key id assigned
> to this TD.  Then, TDX modules maps other TD-related pages with the HKID.
> TDR requires the TDX global key id for cache flush unlike other TD-related
> pages.
> I'll add a comment.

Sorry I forgot this. Thanks.

--
Thanks,
-Kai