From: Keir Fraser <keir.xen@gmail.com>
To: John Backes <john.backes@adventiumlabs.org>,
xen-devel@lists.xensource.com
Subject: Re: Help With Custom Hyper Calls
Date: Fri, 12 Aug 2011 18:02:01 +0100 [thread overview]
Message-ID: <CA6B1B19.1F29F%keir.xen@gmail.com> (raw)
In-Reply-To: <4E4552A9.2000003@adventiumlabs.org>
On 12/08/2011 17:19, "John Backes" <john.backes@adventiumlabs.org> 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
next prev parent reply other threads:[~2011-08-12 17:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 16:19 Help With Custom Hyper Calls John Backes
2011-08-12 17:02 ` Keir Fraser [this message]
2011-08-15 14:45 ` John Backes
2011-08-15 14:56 ` Tim Deegan
2011-08-15 15:00 ` John Backes
2011-08-15 15:10 ` Tim Deegan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA6B1B19.1F29F%keir.xen@gmail.com \
--to=keir.xen@gmail.com \
--cc=john.backes@adventiumlabs.org \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.