From: Daniel Stodden Subject: Re: hypercall execution path? Date: Thu, 22 Feb 2007 19:18:09 +0100 Message-ID: <1172168289.12407.28.camel@lapbode42.lrr.in.tum.de> References: <45DDD02E.40007@thepaynes.cc> <1172168208.12407.26.camel@lapbode42.lrr.in.tum.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2054672631==" Return-path: In-Reply-To: <1172168208.12407.26.camel@lapbode42.lrr.in.tum.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xen Developers List-Id: xen-devel@lists.xenproject.org --===============2054672631== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bw27yGs+yJcwklYPlJTy" --=-bw27yGs+yJcwklYPlJTy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 2007-02-22 at 19:16 +0100, Daniel Stodden wrote: > On Thu, 2007-02-22 at 12:17 -0500, Bryan D. Payne wrote: > > I'm trying to trace the execution path taken by the system when I make = a=20 > > hypercall from a domU kernel. What I'm seeing in the hypercall entry=20 > > function in Xen is that the domU eip value points to a location in the=20 > > domU hypercall page for the __HYPERCALL_sched_op hypercall, even though= =20 > > this is *not* the hypercall that I just called. > >=20 > > Could someone help clarify this for me? Why would the vcpu for the=20 > > guest domain have this seemingly incorrect eip value? >=20 > hard to imagine :} >=20 > apart from emulating execution, the single place i'm aware of playing > with eip are continuations. >=20 > so: what does it point at? what's the page address, which offset?=20 >=20 > after looking into traps.c: take good care with the layout: hypercall > pages on x86_32 are 32 (!) bytes per entry (not 8 as the loop body might > suggest). are your calculations correct? (i keep forgetting cc's) --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garchi= ng http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B --=-bw27yGs+yJcwklYPlJTy Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBF3d5hRX6CrrDYc1sRAuqeAJ0Yd5I5cwh9ApYHnmgQwglVG6BOcwCcCplg oJyTC9UvktLL6NsGwALHu5A= =ba0e -----END PGP SIGNATURE----- --=-bw27yGs+yJcwklYPlJTy-- --===============2054672631== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============2054672631==--