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

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



>>> On 28.08.14 at 13:48, <rcojocaru@xxxxxxxxxxxxxxx> wrote:
> +static bool_t vmx_exited_by_nested_pagefault(void)
> +{
> +    unsigned long exit_qualification, exit_reason;
> +
> +    __vmread(VM_EXIT_REASON, &exit_reason);
> +
> +    if ( exit_reason != EXIT_REASON_EPT_VIOLATION )
> +        return 0;

Actually, looking at this again I think an assertion would have been
the better choice here, as the only code path leading here should
be guaranteeing this to be the case. But anyway, with this needing
re-basing on top of Tamas'es patches, this may go away entirely.

Jan


_______________________________________________
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®.