This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


RE: [Xen-devel] Passing a grant reference to another domain!

Hi jayraman,

>   I'm using CentOS and I'm not sure how to use libxc because there
> aren't any man pages or docs that I'm able to look into but thanks for
> the tip on how the kernel is accessed from libxc.
  libxc is a user-level control library which performs all the
hypercalls required for an operation. libxc actually makes an ioctl call
to /proc/privcmd interface of the dom0  which in turn makes the call to
the hypervisor function. Handled by drivers/xen/privcmd.c . 

If you are trying to get some info of a domain from the hypervisor, you
can directly add a new function in libxc which makes a do_domctl
hypercall and add a appropriate case in do_domctl function which
retrieves you the required function.

I don't know what you are trying to achieve. Its just a suggestion,
which you can explore on.


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 


Xen-devel mailing list