From: Ian Campbell <Ian.Campbell@citrix.com>
To: Jeremy Fitzhardinge <jeremy@goop.org>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Srujan D. Kotikela" <ksrujandas@gmail.com>
Subject: Re: Hypercalls from user-space
Date: Fri, 24 Sep 2010 21:30:20 +0100 [thread overview]
Message-ID: <1285360220.15518.2007.camel@localhost.localdomain> (raw)
In-Reply-To: <4C9CF8B2.1010103@goop.org>
On Fri, 2010-09-24 at 20:14 +0100, Jeremy Fitzhardinge wrote:
> On 09/24/2010 11:38 AM, Srujan D. Kotikela wrote:
> > Hi,
> >
> > Can anyone tell me how to invoke hypercalls from user space? Or any
> > pointers for the same.
> >
> > It's urgent, please help.
> >
>
> You can't directly invoke hypercalls from userspace. In a privileged
> domain you can use ioctls on /proc/xen/privcmd.
And libxenctrl (see tools/libxc in the source) includes C wrappers for
many of them, as well as the necessary low level helpers to invoke the
ioctls etc.
Ian.
next prev parent reply other threads:[~2010-09-24 20:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-24 18:38 Hypercalls from user-space Srujan D. Kotikela
2010-09-24 19:14 ` Jeremy Fitzhardinge
2010-09-24 20:30 ` Ian Campbell [this message]
2010-10-05 21:31 ` Srujan D. Kotikela
2010-10-05 22:09 ` Keir Fraser
2010-10-05 22:37 ` Jeremy Fitzhardinge
2010-10-06 6:46 ` Keir Fraser
2010-10-13 16:20 ` Ian Campbell
2010-10-13 16:45 ` Jeremy Fitzhardinge
2010-09-27 7:33 ` Michal Novotny
2010-09-27 16:20 ` Srujan D. Kotikela
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=1285360220.15518.2007.camel@localhost.localdomain \
--to=ian.campbell@citrix.com \
--cc=jeremy@goop.org \
--cc=ksrujandas@gmail.com \
--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.