From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfV69-0006JH-F0 for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SfV63-0005hM-5U for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:53:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8472) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SfV62-0005h5-Td for qemu-devel@nongnu.org; Fri, 15 Jun 2012 07:53:47 -0400 From: Juan Quintela In-Reply-To: <1339759030-32653-3-git-send-email-anthony.perard@citrix.com> (Anthony PERARD's message of "Fri, 15 Jun 2012 12:17:10 +0100") References: <1339759030-32653-1-git-send-email-anthony.perard@citrix.com> <1339759030-32653-3-git-send-email-anthony.perard@citrix.com> Date: Fri, 15 Jun 2012 13:53:30 +0200 Message-ID: <87bokkeqpx.fsf@elfo.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH 2/2] xenstore: Use Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony PERARD Cc: Stefano Stabellini , QEMU-devel , Xen Devel Anthony PERARD wrote: > In the next release of Xen (4.2), xs.h became deprecated. > > Signed-off-by: Anthony PERARD > --- > configure | 2 +- > hw/xen_common.h | 6 +++++- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/configure b/configure > index c2366ee..e7f66c9 100755 > --- a/configure > +++ b/configure > @@ -1382,7 +1382,7 @@ EOF > elif ( > cat > $TMPC < #include > -#include > +#include > #include > #include > #if !defined(HVM_MAX_VCPUS) > diff --git a/hw/xen_common.h b/hw/xen_common.h > index fe7f227..cc99204 100644 > --- a/hw/xen_common.h > +++ b/hw/xen_common.h > @@ -7,7 +7,11 @@ > #include > > #include > -#include > +#if CONFIG_XEN_CTRL_INTERFACE_VERSION < 420 > +# include > +#else > +# include > +#endif > #include > > #include "hw.h" Shouldn't we need the ifdef also in configure? On my system xenstore.h still don't exist. (master *)$ rpm -qa xen-devel xen-devel-4.1.2-17.fc17.x86_64 (master *)$ ls /usr/include/xs.h /usr/include/xs.h (master *)$ ls /usr/include/xenstore.h ls: cannot access /usr/include/xenstore.h: No such file or directory (master *)$ Later, Juan.