From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Bryan D. Payne" Subject: Re: hypercall execution path? Date: Thu, 22 Feb 2007 16:18:49 -0500 Message-ID: <45DE08B9.8070700@thepaynes.cc> References: <45DDD02E.40007@thepaynes.cc> <1172168208.12407.26.camel@lapbode42.lrr.in.tum.de> <1172168289.12407.28.camel@lapbode42.lrr.in.tum.de> <45DDE128.1040106@thepaynes.cc> <1172169424.20968.54.camel@localhost.localdomain> <45DDEAD5.1010703@thepaynes.cc> <1172174731.19233.6.camel@localhost.localdomain> <45DDFCEE.6020201@thepaynes.cc> <1172177214.19233.32.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1172177214.19233.32.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Campbell Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org > sd is current->domain here so the guest context is saved on the stack > rather than in the domain structure. Therefore you need to use > guest_cpu_user_regs()->eip instead. I should have thought of that > before, sorry. Thanks! That gives a much more reasonable value :-) -bryan - Bryan D. Payne Graduate Student, Computer Science Georgia Tech Information Security Center http://www.bryanpayne.org