Re: [PATCH v18 064/121] KVM: TDX: Create initial guest memory

From: Isaku Yamahata
Date: Thu Mar 07 2024 - 20:07:59 EST


On Tue, Feb 27, 2024 at 09:30:11AM -0800,
Sean Christopherson <seanjc@xxxxxxxxxx> wrote:

> On Tue, Feb 27, 2024, Isaku Yamahata wrote:
> > On Mon, Feb 26, 2024 at 10:50:55AM -0800,
> > Sean Christopherson <seanjc@xxxxxxxxxx> wrote:
> >
> > > Please post an RFC for _just_ this functionality, and follow-up in existing,
> > > pre-v19 conversations for anything else that changed between v18 and v19 and might
> > > need additional input/discussion.
> >
> > Sure, will post it. My plan is as follow for input/discussion
> > - Review SEV-SNP patches by Paolo for commonality
> > - RFC patch to KVM_MAP_MEMORY or KVM_FAULTIN_MEMORY
> > - RFC patch for uKVM for confidential VM
>
> uKVM?

I meant uAPI, sorry for typo.
Although I looked into a unified uAPI with SEV, the gain seem to be small or
none. I'm currently planning to drop it based on the feedback at
https://lore.kernel.org/kvm/ZL%2Fr6Vca8WkFVaic@xxxxxxxxxx/
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxxxxxxxx>