From: Ian Campbell Subject: Re: [PATCH v2] Move xenstore and libxc public headers to include subdir Date: Fri, 11 Jul 2014 16:41:07 +0100 Message-ID: <1405093267.32197.6.camel@kazak.uk.xensource.com> References: <1405090093-29601-1-git-send-email-stefano.stabellini@eu.citrix.com> <53C000B0.3040005@citrix.com> <1405092113.32197.2.camel@kazak.uk.xensource.com> <53C002D4.5020901@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <53C002D4.5020901@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-11 at 16:29 +0100, Andrew Cooper wrote: > On 11/07/14 16:21, Ian Campbell wrote: > > On Fri, 2014-07-11 at 16:20 +0100, Andrew Cooper wrote: > > > >> Not directly related to your patch but... > >> > >> andrewcoop@andrewcoop:/local/xen.git/tools/qemu-xen-dir-remote$ git grep > >> "xs\.h" > >> configure:#include > >> configure:#include > >> configure:#include > >> configure:#include > >> include/hw/xen/xen_common.h:# include > >> > >> Isn't it time we got code like this off using the legacy xs.h? > > So long as that code also wants to build against older Xen we should > > tolerate them preferring the older headers. > > > > > > > > The whole purpose of configure is to try and hide that stuff away. > Surely it should try looking for xenstore.h and, failing that, look for > xs.h and fill in some variable? Qemu's ./configure is not autoconf. In any case while it could do what you suggest I don't think these spare headers are causing us such grief that we need to make waves about getting rid of them. > > We know for certain whether the version of qemu pointed to by xen.git > need the legacy headers still. > > ~Andrew