[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230112161634.GD2034518@ls.amr.corp.intel.com>
Date: Thu, 12 Jan 2023 08:16:34 -0800
From: Isaku Yamahata <isaku.yamahata@...il.com>
To: "Wang, Lei" <lei4.wang@...el.com>
Cc: isaku.yamahata@...el.com, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, isaku.yamahata@...il.com,
Paolo Bonzini <pbonzini@...hat.com>, erdemaktas@...gle.com,
Sean Christopherson <seanjc@...gle.com>,
Sagi Shahar <sagis@...gle.com>,
David Matlack <dmatlack@...gle.com>
Subject: Re: [PATCH v10 000/108] KVM TDX basic feature support
On Tue, Jan 03, 2023 at 04:26:59PM +0800,
"Wang, Lei" <lei4.wang@...el.com> wrote:
> On 10/30/2022 2:22 PM, isaku.yamahata@...el.com wrote:
>
> > ** Detecting the TDX module readiness.
> > TDX host patch series implements the detection of the TDX module availability
> > and its initialization so that KVM can use it. Also it manages Host KeyID
> > (HKID) assigned to guest TD.
> > The assumed APIs the TDX host patch series provides are
> > - int seamrr_enabled()
> > Check if required cpu feature (SEAM mode) is available. This only check CPU
> > feature availability. At this point, the TDX module may not be ready for KVM
> > to use.
> > - int init_tdx(void);
> > Initialization of TDX module so that the TDX module is ready for KVM to use.
> > - const struct tdsysinfo_struct *tdx_get_sysinfo(void);
> > Return the system wide information about the TDX module. NULL if the TDX
> > isn't initialized.
> > - u32 tdx_get_global_keyid(void);
> > Return global key id that is used for the TDX module itself.
> > - int tdx_keyid_alloc(void);
> > Allocate HKID for guest TD.
> > - void tdx_keyid_free(int keyid);
> > Free HKID for guest TD.
>
> tdx_enable() is introduced by TDX host patch series and used in patch 5, should
> it be added to this list too?
Thanks, I've updated the cover letter to catch up the host tdx patch series v10.
--
Isaku Yamahata <isaku.yamahata@...il.com>
Powered by blists - more mailing lists