From: Ian Campbell Subject: Re: [PATCH 1/3] move xenstore public headers to include subdir Date: Thu, 10 Jul 2014 17:41:04 +0100 Message-ID: <1405010464.7406.2.camel@kazak.uk.xensource.com> References: <1405008961-17187-1-git-send-email-stefano.stabellini@eu.citrix.com> <1405009365.6577.2.camel@kazak.uk.xensource.com> <1405009874.6966.0.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: xen-devel@lists.xensource.com, Ian.Jackson@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2014-07-10 at 17:36 +0100, Stefano Stabellini wrote: > On Thu, 10 Jul 2014, Ian Campbell wrote: > > On Thu, 2014-07-10 at 17:27 +0100, Stefano Stabellini wrote: > > > On Thu, 10 Jul 2014, Ian Campbell wrote: > > > > On Thu, 2014-07-10 at 17:15 +0100, Stefano Stabellini wrote: > > > > > Signed-off-by: Stefano Stabellini > > > > > --- > > > > > tools/xenstore/Makefile | 9 +- > > > > > tools/xenstore/compat/xs.h | 2 - > > > > > tools/xenstore/compat/xs_lib.h | 2 - > > > > > tools/xenstore/include/compat/xs.h | 2 + > > > > > tools/xenstore/include/compat/xs_lib.h | 2 + > > > > > tools/xenstore/include/xenstore.h | 257 ++++++++++++++++++++++++++++++++ > > > > > tools/xenstore/include/xenstore_lib.h | 85 +++++++++++ > > > > > tools/xenstore/xenstore.h | 257 -------------------------------- > > > > > tools/xenstore/xenstore_lib.h | 85 ----------- > > > > > > > > Please can you use "git format-patch -M" so the renames are clear. > > > > > > > > > 9 files changed, 351 insertions(+), 350 deletions(-) > > > > > delete mode 100644 tools/xenstore/compat/xs.h > > > > > delete mode 100644 tools/xenstore/compat/xs_lib.h > > > > > create mode 100644 tools/xenstore/include/compat/xs.h > > > > > create mode 100644 tools/xenstore/include/compat/xs_lib.h > > > > > create mode 100644 tools/xenstore/include/xenstore.h > > > > > create mode 100644 tools/xenstore/include/xenstore_lib.h > > > > > delete mode 100644 tools/xenstore/xenstore.h > > > > > delete mode 100644 tools/xenstore/xenstore_lib.h > > > > > > > > > > diff --git a/tools/xenstore/Makefile b/tools/xenstore/Makefile > > > > > index e34bd41..2947d3e 100644 > > > > > --- a/tools/xenstore/Makefile > > > > > +++ b/tools/xenstore/Makefile > > > > > @@ -6,6 +6,7 @@ MINOR = 3 > > > > > > > > > > CFLAGS += -Werror > > > > > CFLAGS += -I. > > > > > +CFLAGS += -I./include > > > > > > > > Since you don't change any other Makefiles how do the in-tree consumers > > > > of this library continue to build? > > > > > > > > (probably using /usr/include/xenstore_lib.h) > > > > > > They don't: the series is not bisectable in the current form (I wrote it > > > in patch #0). > > > I was thinking of getting some reviews and then send the whole series as > > > a single patch. > > > > Ah OK, sorry for missing that bit. > > The problem remains for the Makefile of qemu-xen-traditional though. I > have to make that change separately. Don't you (or Ian) push to qemu-trad first and then update Config.mk at the same time as everything else?