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

Re: [Xen-devel] XSM and Xen hypercalls.



On Mon, 2013-07-22 at 15:19 +0530, cooldharma06 wrote:
> Hi all,
> 
> 
> i am new for SELinux and XSM policy. I read the documents and also
> viewed the XSM policy files in xen source.
> 
> 
> i want to develop some new policies and i want to test the hypercall
> is invoked or not. For that i have to call the hypercalls. 
> 
> 
> i googled also but i am not getting useful for me.
>  
> * How i can call or request the hypercalls form vm ? i want to do
> experiments with xsm policy.

Which hypercalls? And where do you want to call them from (user or
kernel space)? Obviously it depends on the particular call where you can
sensibly call it from, and whether it makes any sense to call it in
isolation.

The guest kernel is probably making plenty of calls already, you may be
able to add others via a kernel module.

If you want to do it from userspace you could use the /proc/xen/privcmd
device, most likely via the libxenctrl library.

Ian



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.