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

Re: [Xen-devel] Hypercalls from user-space



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.


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