Re: [PATCH v10 031/108] KVM: x86/mmu: Replace hardcoded value 0 for the initial value for SPTE

From: Isaku Yamahata
Date: Thu Nov 17 2022 - 12:55:19 EST


On Tue, Nov 08, 2022 at 11:33:12AM +0000,
"Huang, Kai" <kai.huang@xxxxxxxxx> wrote:

> On Sat, 2022-10-29 at 23:22 -0700, isaku.yamahata@xxxxxxxxx wrote:
> > The plan is to unconditionally set the "suppress #VE" bit for both AMD and
> > Intel as: 1) AMD hardware doesn't use this bit; 2) for conventional VMX
> > guests, KVM never enables the "EPT-violation #VE" in VMCS control and
> > "suppress #VE" bit is ignored by hardware.
>
> Hi Isaku,
>
> "AMD hardware doesn't use this bit" is wrong:
>
> https://lore.kernel.org/lkml/cover.1659854790.git.isaku.yamahata@xxxxxxxxx/T/#m5ed59404da43677e99ac51dd1360dc22b964bcbb

Oops. I'll update the commit message.
--
Isaku Yamahata <isaku.yamahata@xxxxxxxxx>