WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] how can I find code of hypercall?
From: leilei175@xxxxxxxxx
Date: Wed, 11 Mar 2009 17:52:52 +0800
Delivery-date: Wed, 11 Mar 2009 02:53:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=IUsixITWhKxm6px9IeXh33lUPn/of+NqmXuZ8fpfUP0=; b=YsJWirzpeDlaCef7AHWyDZ5Ztakh+lYyveYvXHorLBKg/Z1bHiimxFp70c7nIs2llA TqNe/NoUQbjGdQI5KfVWncZJO/Dp5jbwMaU5yhsKtx0l0bEnhlxWAyWa+5LPro3kdF5L MPP3lYlzJgaomHUG5TtEd25iuZe+Mx9H1PCK0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>