From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Help With Custom Hyper Calls Date: Fri, 12 Aug 2011 18:02:01 +0100 Message-ID: References: <4E4552A9.2000003@adventiumlabs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4E4552A9.2000003@adventiumlabs.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Backes , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/08/2011 17:19, "John Backes" wrote: > Hello, > > So I'm new to Xen development and want to play around with Xen > Hypercalls, but havn't been able to find a whole lot of documentation > related to creating custom Hypercalls. I've found that to create a > custom Hypercall I need to define it with an unused Hypercall number in > "xen/include/public/xen.h", but then I am unsure of the next steps > (e.g., where to place the function to call with the Hypercall). > > Can anyone point more towards some documentation or at least towards the > correct locations for registering new Hypercalls? Thanks in advance. Pick the name of a hypercall, e.g., update_va_mapping has a nice distinctive name. Recursive grep for that name in the Xen and Linux source trees. Should give you a pretty good start on the few places you need to register in the hypervisor and in the guest kernel. -- Keir > - John > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel