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

[Xen-devel] how can I find code of hypercall?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: leilei175@xxxxxxxxx
  • Date: Wed, 11 Mar 2009 17:52:52 +0800
  • Delivery-date: Wed, 11 Mar 2009 02:53:19 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=W7Qh/jGu3DiK0VTKy67bYaKrWMoF+bxEfr0AAIIS5elx82z0r1BHfYW1nKzziGWGbD pWAzYjMFV2sHygWLnDTiCWcHKnf6odZmXFwltadtLnBJV4tMi2dztViZfQLvErPVmbTG lVFJSx0sC99ijkTTNzCF4fSyLlGq6VNdKOxlE=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hi,all
I am trying to check how hypercall works.
For example , one guest call HYPERVISOR_update_va_mapping(), next
thing is to call   _hypercall4(int, update_va_mapping,
va,new_val.pte_low, pte_hi, flags)
Then I find the core of _hypercall14 is call hypercall_page +
("STR(__HYPERVISOR_##name)" * 32).
The hypercalls are mapped into a page so guest call call it through
functions in that page.
However, I couldn't trace deeper from here. grep for "hypercall_page"
gets no answer.

My question is when is this page filled with hypercall functions and
Where can I find codes of this core functions?
Any advice is appreciated.

Thanks

_______________________________________________
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®.