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 21 Apr 2006, at 18:55, John Levon wrote:

Hmm. Looking at this, we've got an awful lot of duplicated code between
xc_{linux,solaris}.c if we only let those files see the kernel headers
containing privcmd_hypercall_t etc.

Wouldn't it be better to have a libxc/xen/sys/[1] symlink so that
xc_private.c and friends can continue to include privcmd_hypercall etc?
That way the contents of xc_{linux,solaris}.c can contain only the parts
that we'll genuinely differ by (use of /proc etc.).

Yes, I think that's okay. sys seems a good choice.

 -- Keir

Xen-devel mailing list