Re: [PATCH v4 4/6] KVM: MMU: prefetch ptes when intercepted guest #PF

Marcelo Tosatti
2010-07-05T12:01:41Z

On Sat, Jul 03, 2010 at 04:08:42PM +0800, Xiao Guangrong wrote:
>
>
> Marcelo Tosatti wrote:
>
> >> +
> >> + if (is_rsvd_bits_set(vcpu, gpte, PT_PAGE_TABLE_LEVEL))
> >> + break;
> >
> > BTW, doesnt sync_page also lack reserved bit checking? (unrelated to
> > this patch).
> >
>
> I think it's not since if EPT is enabled, no unsync page exist, the sync page
> path can't be trigged. :-)

What i mean is, why the sync_page path does not require reserved bit
checking? (EPT disabled).

Just to clarify, this has nothing to do with your patch.