From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFVBS-0000BX-N3 for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:39:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QFVBQ-0003hb-EG for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:39:22 -0400 Received: from mail-yi0-f45.google.com ([209.85.218.45]:64903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QFVBQ-0003hR-AP for qemu-devel@nongnu.org; Thu, 28 Apr 2011 13:39:20 -0400 Received: by yib19 with SMTP id 19so1268581yib.4 for ; Thu, 28 Apr 2011 10:39:19 -0700 (PDT) Message-ID: <4DB9A644.6000802@codemonkey.ws> Date: Thu, 28 Apr 2011 12:39:16 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1304010495-18136-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <1304010495-18136-1-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Anthony Liguori , Stefan Weil , Venkateswararao Jujjuri , QEMU Developers , "Aneesh Kumar K.V" On 04/28/2011 12:08 PM, Stefan Weil wrote: > From: Stefan Weil > > Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files > without fixing the include paths. > > Signed-off-by: Stefan Weil This is not correct. I think we learned in IRC that the problem is Stefan is using CFLAGS=-g which overrides the CFLAGS append added by this patch. Regards, Anthony Liguori > --- > hw/9pfs/virtio-9p-debug.c | 5 +++-- > hw/9pfs/virtio-9p-local.c | 3 ++- > hw/9pfs/virtio-9p-posix-acl.c | 2 +- > hw/9pfs/virtio-9p-xattr-user.c | 2 +- > hw/9pfs/virtio-9p-xattr.c | 2 +- > hw/9pfs/virtio-9p.c | 4 ++-- > 6 files changed, 10 insertions(+), 8 deletions(-) > > diff --git a/hw/9pfs/virtio-9p-debug.c b/hw/9pfs/virtio-9p-debug.c > index 6b18842..4636ad5 100644 > --- a/hw/9pfs/virtio-9p-debug.c > +++ b/hw/9pfs/virtio-9p-debug.c > @@ -10,8 +10,9 @@ > * the COPYING file in the top-level directory. > * > */ > -#include "virtio.h" > -#include "pc.h" > + > +#include "hw/virtio.h" > +#include "hw/pc.h" > #include "virtio-9p.h" > #include "virtio-9p-debug.h" > > diff --git a/hw/9pfs/virtio-9p-local.c b/hw/9pfs/virtio-9p-local.c > index 0a015de..3effc39 100644 > --- a/hw/9pfs/virtio-9p-local.c > +++ b/hw/9pfs/virtio-9p-local.c > @@ -10,7 +10,8 @@ > * the COPYING file in the top-level directory. > * > */ > -#include "virtio.h" > + > +#include "hw/virtio.h" > #include "virtio-9p.h" > #include "virtio-9p-xattr.h" > #include > diff --git a/hw/9pfs/virtio-9p-posix-acl.c b/hw/9pfs/virtio-9p-posix-acl.c > index 575abe8..c0ae9d6 100644 > --- a/hw/9pfs/virtio-9p-posix-acl.c > +++ b/hw/9pfs/virtio-9p-posix-acl.c > @@ -13,7 +13,7 @@ > > #include > #include > -#include "virtio.h" > +#include "hw/virtio.h" > #include "virtio-9p.h" > #include "fsdev/file-op-9p.h" > #include "virtio-9p-xattr.h" > diff --git a/hw/9pfs/virtio-9p-xattr-user.c b/hw/9pfs/virtio-9p-xattr-user.c > index bba13ce..c56039c 100644 > --- a/hw/9pfs/virtio-9p-xattr-user.c > +++ b/hw/9pfs/virtio-9p-xattr-user.c > @@ -12,7 +12,7 @@ > */ > > #include > -#include "virtio.h" > +#include "hw/virtio.h" > #include "virtio-9p.h" > #include "fsdev/file-op-9p.h" > #include "virtio-9p-xattr.h" > diff --git a/hw/9pfs/virtio-9p-xattr.c b/hw/9pfs/virtio-9p-xattr.c > index 03c3d3f..f08ce6e 100644 > --- a/hw/9pfs/virtio-9p-xattr.c > +++ b/hw/9pfs/virtio-9p-xattr.c > @@ -11,7 +11,7 @@ > * > */ > > -#include "virtio.h" > +#include "hw/virtio.h" > #include "virtio-9p.h" > #include "fsdev/file-op-9p.h" > #include "virtio-9p-xattr.h" > diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c > index b5fc52b..ac5a1d0 100644 > --- a/hw/9pfs/virtio-9p.c > +++ b/hw/9pfs/virtio-9p.c > @@ -11,8 +11,8 @@ > * > */ > > -#include "virtio.h" > -#include "pc.h" > +#include "hw/virtio.h" > +#include "hw/pc.h" > #include "qemu_socket.h" > #include "virtio-9p.h" > #include "fsdev/qemu-fsdev.h"