Re: [RFC PATCH v2 22/69] KVM: x86: Add vm_type to differentiate legacy VMs from protected VMs
From: Paolo Bonzini
Date: Tue Jul 06 2021 - 10:46:55 EST
On 03/07/21 00:04, isaku.yamahata@xxxxxxxxx wrote:
#define KVM_PMU_EVENT_DENY 1
+#define KVM_X86_LEGACY_VM 0
+#define KVM_X86_SEV_ES_VM 1
+#define KVM_X86_TDX_VM 2
+
SEV-ES is not needed, and TDX_VM might be reused for SEV-SNP. Also
"legacy VM" is not really the right name. Maybe NORMAL/TRUSTED?
Paolo