From: Tim Deegan Subject: Re: xc_domain_hvm_getcontext_partial(... CPU ...), the RIP register, and mem_event Date: Mon, 25 Feb 2013 16:57:43 +0000 Message-ID: <20130225165743.GC78606@ocelot.phlegethon.org> References: <512B8C6B.90305@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <512B8C6B.90305@gmail.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: Razvan Cojocaru Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org At 18:08 +0200 on 25 Feb (1361815691), Razvan Cojocaru wrote: > Hello, > > assuming that the VCPU is paused while waiting for userspace to respond > to a page fault mem_event, and userspace calls libxc's > xc_domain_hvm_getcontext_partial(... CPU ...) and tries to inspect RIP, > is this a safe thing to do? Is RIP's value guaranteed to be safe to > inspect in this context? Yes. Cheers, Tim.