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

Re: [Xen-devel] RIP register value in p2m_mem_access_check()



Thank you for your answer. Isn't it possible that emulation is indeed
involved, since in p2m_mem_access_check() a page fault has occured, and
RIP might point to _after_ the offending instruction?

That wouldn't match your observation (the two values were
much farther apart), unless a call or jump got emulated.

I've noticed that, and have indeed assumed that it was something like a call.

Further, after emulation, the user_regs.eip value should be the
canonical one.

And finally, you said you took this right after a page fault
occurred, and - just like for any fault - the RIP the fault refers
to is the faulting instruction, not the one following it.

Fair enough. Will debug the issue.


Thanks,
Razvan Cojocaru


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