lkml.org 
[lkml]   [2022]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH v5 042/104] KVM: x86/mmu: Track shadow MMIO value/mask on a per-VM basis
From
Date
On Fri, 2022-04-08 at 12:12 -0700, Isaku Yamahata wrote:
> > > - shadow_present_mask = has_exec_only ? 0ull :
> > > VMX_EPT_READABLE_MASK;
> > > + shadow_present_mask =
> > > + (has_exec_only ? 0ull : VMX_EPT_READABLE_MASK) |
> > > init_value;
> >
> > This change doesn't seem make any sense.  Why should "Suppress #VE" bit be
> > set
> > for a present PTE?
>
> Because W or NX violation also needs #VE.  Although the name uses present,
> it's
> actually readable.

Yeah I forgot this. Thanks!

--
Thanks,
-Kai


\
 
 \ /
  Last update: 2022-04-09 01:35    [W:0.400 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site