This is ``ick''.  Every kernel file that wants to compile with Xen
has to include these five lines?  Is there a better way to do it?
Your goal is admirable, but I can't imagine anyone sane would put up
with this requirement.

Agreed but this is how I got it to work. For some tests this may be
too much, you may only need to include parts of the xen kernel
headers. However, xen is very inter-dependent if you only include
<xen/interface/xen.h> it doesn't work because some of the static
functions defined in the headers use int which is defined by types.h
also __XEN_INTERFACE_VERSION__ needs to be set to the
CONFIG_XEN_INTERFACE_VERSION so that structures can be defined
properly (look at include/xen/interface/xen-<arch>.h) the headers are
really a pita.

Thanks,
- David Brown
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to