From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:51134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFKR3-0003xM-8D for qemu-devel@nongnu.org; Tue, 12 Mar 2013 04:19:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFKR0-0004qo-O3 for qemu-devel@nongnu.org; Tue, 12 Mar 2013 04:19:49 -0400 Received: from greensocs.com ([87.106.252.221]:38364 helo=s15328186.onlinehome-server.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFKR0-0004og-IB for qemu-devel@nongnu.org; Tue, 12 Mar 2013 04:19:46 -0400 Message-ID: <513EE519.7000209@greensocs.com> Date: Tue, 12 Mar 2013 09:19:37 +0100 From: =?ISO-8859-1?Q?KONRAD_Fr=E9d=E9ric?= MIME-Version: 1.0 References: <1362144829-26979-1-git-send-email-pbonzini@redhat.com> <1362144829-26979-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1362144829-26979-10-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 09/18] hw: include hw header files with full paths List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, afaerber@suse.de On 01/03/2013 14:33, Paolo Bonzini wrote: > Done with this script: > > cd hw > for i in `find . -name '*.h' | sed 's/^..//'`; do > echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,' > done | sed -i -f - `find . -type f` > > This is so that paths remain valid as files are moved. > > Instead, files in hw/dataplane are referenced with the relative path. > We know they are not going to move to include/, and they are the only > include files that are in subdirectories _and_ move. > > Signed-off-by: Paolo Bonzini Hi Paolo, > > diff --git a/hw/virtio-blk.c b/hw/virtio-blk.c > index 34913ee..248a966 100644 > --- a/hw/virtio-blk.c > +++ b/hw/virtio-blk.c > @@ -16,11 +16,11 @@ > #include "trace.h" > #include "hw/block-common.h" > #include "sysemu/blockdev.h" > -#include "virtio-blk.h" > +#include "hw/virtio-blk.h" > #ifdef CONFIG_VIRTIO_BLK_DATA_PLANE > -#include "hw/dataplane/virtio-blk.h" > +#include "dataplane/virtio-blk.h" Is that normal? ^^ Or I missed something? I though you include hw header with full paths? Thanks, Fred