WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] use hypercall in Dom0's kernel

Please don't top post and always CC the list. I've put xen-devel back
this time.

On Fri, 2011-09-30 at 15:14 +0100, David Xu wrote:
> Hi,
> 
> I modify the bridge module of Dom0 and sniff the packets which go
> through Dom0. I want to notify the hypervisor if some special packets
> come. So I want to call some interface function which are defined in
> libxc (libxenctrl). But if I include the xenctrl.h or some related
> head file in the br.c or br_input.c which are parts of bridge module
> codes, I will encounter the compiling error (can not find the head
> file).

Of course you cannot link userspace code into the kernel.

If you need access to hypercalls then you have them available in the
kernel in raw form in the kernel.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>