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

From: Sean Christopherson
Date: Fri Jun 23 2023 - 20:09:38 EST


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?

> - any other way?