Re: [RFC PATCH 0/6] KVM: guest memory: Misc enhacnement

From: Isaku Yamahata
Date: Mon Jun 26 2023 - 16:55:00 EST


On Fri, Jun 23, 2023 at 05:09:26PM -0700,
Sean Christopherson <seanjc@xxxxxxxxxx> wrote:

> On Thu, Jun 15, 2023, isaku.yamahata@xxxxxxxxx wrote:
> > * VM type: Now we have KVM_X86_PROTECTED_VM. How do we proceed?
> > - Keep KVM_X86_PROTECTED_VM for its use. Introduce KVM_X86_TDX_VM
> > - Use KVM_X86_PROTECTED_VM for TDX. (If necessary, introduce another type in
> > the future)
>
> How would KVM differentiate between software-protected VMs and TDX VMs if we go
> with this option?

Let's introduce new two VM type. I'm fine with two new VM types. I had KVM
capability in mind if SEV implementation doesn't like new VM types.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>