From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: RIP register value in p2m_mem_access_check() Date: Wed, 06 Mar 2013 16:47:17 +0200 Message-ID: <513756F5.7070505@gmail.com> References: <5137208F.7000901@gmail.com> <5137335602000078000C3815@nat28.tlf.novell.com> <513729E8.2060007@gmail.com> <5137512C02000078000C394B@nat28.tlf.novell.com> <5137494D.7010901@gmail.com> <513761AF02000078000C39F0@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <513761AF02000078000C39F0@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org > I know close to nothing about the paths that can lead here, and > hence I can't assess whether expecting consistency at this point > is valid. All I can tell is that right after VM exit (i.e. at the top of > vmx_vmexit_handler()) the two values ought to be consistent. Yes, that's true, however what I'm after is a way to have the information associated with the proper RIP _before_ the VM exit (basically all of the information that gets stuffed into the struct hvm_hw_cpu instance by xc_domain_hvm_getcontext_partial()). Specifically, I want that information inside p2m_mem_access_check(). Thanks for your help, Razvan Cojocaru