[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC V8 5/5] xen: Handle resumed instruction based on previous mem_event reply



> From: Jan Beulich [mailto:JBeulich@xxxxxxxx]
> Sent: Wednesday, August 27, 2014 8:52 AM
> 
> >>> On 27.08.14 at 16:01, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
> > +static bool_t vmx_exited_by_nested_pagefault(void)
> > +{
> > +    unsigned long exit_qualification;
> > +
> > +    __vmread(EXIT_QUALIFICATION, &exit_qualification);
> > +
> > +    if ( (exit_qualification & EPT_GLA_FAULT) == 0 )
> 
> It just occurred to me - Is this a valid check for any but
> EXIT_REASON_EPT_VIOLATION? I didn't think the bits here carry
> the same meaning regardless of exit kind...
> 

You're right. GLA bit definition is only for EPT violation.

Thanks
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.