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

Re: [Xen-devel] Where is hypercall_page?



On Mon, 2008-07-07 at 17:43 +0900, Jun Koi wrote:
> Hi,
> 
> I am looking to see where "hypercall_page" is declared in Linux
> kernel. However, I only found the extern prototype of it in
> arch/i386/kernel/setup-xen.c:
> 
> extern char hypercall_page[PAGE_SIZE];
> 
> So I am wondering where this "hypercall_page" variable is actually
> declared. Any pointer?

Only the space is reserved by guests. Never forget to grep assembly
files as well.

Contents are built by Xen. Usually during domain build, or when
requested by an MSR. The latter is probabily for PV drivers in HVM
domains. See the traps.c files for reference.

Best,
Daniel

-- 
Daniel Stodden
LRR     -      Lehrstuhl fÃr Rechnertechnik und Rechnerorganisation
Institut fÃr Informatik der TU MÃnchen             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.