From: Keir Fraser Subject: Re: [PATCH] change dom0 headers path Date: Thu, 20 Apr 2006 15:31:09 +0100 Message-ID: <2b451d3c2dd2ddd57f8b7bef3ca2a735@cl.cam.ac.uk> References: <20060420123936.GA840@totally.trollied.org> <20060420131310.GC840@totally.trollied.org> <2bebc381f42c49f9a65d5016fcf0ca71@cl.cam.ac.uk> <20060420134740.GA1887@totally.trollied.org> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060420134740.GA1887@totally.trollied.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 > exist. > > 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