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] [PATCH] change dom0 headers path

On 20 Apr 2006, at 14:47, John Levon wrote:

That's exactly what the patch as-is allows for: libxc/xen/dom0/ is only
created on Linux. If you'd prefer me to always create libxc/xen/linux/,
then make a dom0/ symlink point at it, that's fine, but it's kind of
pointless since it wouldn't get used on non-Linux anyway. It was also
one reason I was asking about plans for when linux sparse tree doesn't

Or maybe I've got the wrong end of the stick; what are you proposing?

Well, it depends how much commonality we think there will be between different OS's header files in future. If the details are hidden inside libxc then it wouldn't hurt to guarantee very little at the kernel and have libxc include from linux/ or solaris/ directly depending on how it is targetted at compile time. I'm not keen on the name dom0/ anyway -- those headers (particularly evtchn.h) are applicable to other domains too.

 -- Keir

Xen-devel mailing list