Received: from eggs.gnu.org ([208.118.235.92]:58935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN5Hw-0007Ct-Ib for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:46:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN5Hv-0007Ez-9H for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:46:28 -0400 Received: from smtp.citrix.com ([66.165.176.89]:17144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN5Hv-0007EU-0r for qemu-devel@nongnu.org; Tue, 02 Apr 2013 13:46:27 -0400 Date: Tue, 2 Apr 2013 18:46:00 +0100 From: Stefano Stabellini In-Reply-To: <515B1406.7040005@redhat.com> Message-ID: References: <1364914749-11141-1-git-send-email-pbonzini@redhat.com> <515B1406.7040005@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="1342847746-1062047857-1364924760=:5078" Subject: Re: [Qemu-devel] [PATCH v2 00/36] hw/ reorganization, part 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , Igor Mammedov , "qemu-devel@nongnu.org" , Andreas Faerber , Stefano Stabellini --1342847746-1062047857-1364924760=:5078 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 2 Apr 2013, Paolo Bonzini wrote: > Il 02/04/2013 19:01, Stefano Stabellini ha scritto: > > On Tue, 2 Apr 2013, Paolo Bonzini wrote: > >> This is part 2 of the reorganization. Following the discussion > >> of March 18 between me and Peter, the ARM CPU cores are in hw/cpu > >> (the i386 ICC device will also go there). > >> > >> The following changes since commit 5d45de9796539f95eb6b1201588362981f8= cb2d4: > >> > >> microblaze: Add support for the sleep insn (2013-04-02 10:47:29 +020= 0) > >> > >> are available in the git repository at: > >> > >> git://github.com/bonzini/qemu.git hw-dirs > >> > >> for you to fetch changes up to 99490dcb5ef42ab1fac14600ceb83b99687a9b4= 2: > >> > >> hw: move private headers to hw/ subdirectories. (2013-04-02 14:54:44= +0200) > >> > >=20 > > I tried to build your branch but I got the following: > >=20 > > ./configure --disable-xen --target-list=3Di386-softmmu=20 > >=20 > > ./configure --enable-xen --target-list=3Di386-softmmu --extra-cflags=3D= "-I$DIR/tools/include -I$DIR/tools/libxc -I$DIR/tools/xenstore" --extra-ld= flags=3D"-L$DIR/tools/libxc -L$$DIR/tools/xenstore" --disable-kvm > >=20 > > both produce this: > >=20 > > make -j8 > > /local/scratch/sstabellini/qemu/Makefile.objs:121: /local/scratch/sstab= ellini/qemu/hw/cpu/Makefile.objs: No such file or directory > > make: *** No rule to make target `/local/scratch/sstabellini/qemu/hw/cp= u/Makefile.objs'. Stop. >=20 > Didn't "git add" it. Pushing a new branch at the same place, commit > 9b4763e5c036b8e5f8889af9c1ae1aaba3af5dae, rebased and with the file. >=20 > The contents is simply >=20 > diff --git a/hw/cpu/Makefile.objs b/hw/cpu/Makefile.objs > index e69de29..a49ca04 100644 > --- a/hw/cpu/Makefile.objs > +++ b/hw/cpu/Makefile.objs > @@ -0,0 +1,4 @@ > +obj-$(CONFIG_ARM11MPCORE) +=3D arm11mpcore.o > +obj-$(CONFIG_ARM9MPCORE) +=3D a9mpcore.o > +obj-$(CONFIG_ARM15MPCORE) +=3D a15mpcore.o This is what I get with the new branch: In file included from tpm/tpm_int.h:16, from tpm/tpm.c:19: =2E/tpm/tpm_tis.h:41: error: redefinition of typedef =E2=80=98TPMSizedBuffe= r=E2=80=99 /local/scratch/sstabellini/qemu/include/tpm/tpm.h:18: note: previous declar= ation of =E2=80=98TPMSizedBuffer=E2=80=99 was here In file included from tpm/tpm.c:19: tpm/tpm_int.h:19: error: redefinition of typedef =E2=80=98TPMDriverOps=E2= =80=99 /local/scratch/sstabellini/qemu/include/backends/tpm.h:34: note: previous d= eclaration of =E2=80=98TPMDriverOps=E2=80=99 was here tpm/tpm_int.h:35: error: redefinition of typedef =E2=80=98TPMState=E2=80=99 /local/scratch/sstabellini/qemu/include/tpm/tpm.h:17: note: previous declar= ation of =E2=80=98TPMState=E2=80=99 was here tpm/tpm_int.h:39: error: redefinition of typedef =E2=80=98TPMRecvDataCB=E2= =80=99 /local/scratch/sstabellini/qemu/include/tpm/tpm.h:19: note: previous declar= ation of =E2=80=98TPMRecvDataCB=E2=80=99 was here --1342847746-1062047857-1364924760=:5078--