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