[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <17505277-ae3f-403c-a028-4d5859e70926@redhat.com>
Date: Tue, 6 Jul 2021 15:56:32 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: isaku.yamahata@...el.com, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, erdemaktas@...gle.com,
Connor Kuehl <ckuehl@...hat.com>,
Sean Christopherson <seanjc@...gle.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: isaku.yamahata@...il.com,
Sean Christopherson <sean.j.christopherson@...el.com>,
Xiaoyao Li <xiaoyao.li@...el.com>
Subject: Re: [RFC PATCH v2 22/69] KVM: x86: Add vm_type to differentiate
legacy VMs from protected VMs
On 03/07/21 00:04, isaku.yamahata@...el.com 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
Powered by blists - more mailing lists