From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHedY-0006ux-Gk for qemu-devel@nongnu.org; Mon, 18 Mar 2013 14:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHedT-0003O5-GE for qemu-devel@nongnu.org; Mon, 18 Mar 2013 14:18:20 -0400 Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:61176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHedT-0003Nm-8P for qemu-devel@nongnu.org; Mon, 18 Mar 2013 14:18:15 -0400 Received: by mail-la0-f53.google.com with SMTP id fr10so6488199lab.12 for ; Mon, 18 Mar 2013 11:18:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <51475A00.8070304@redhat.com> References: <1363628125-5310-1-git-send-email-pbonzini@redhat.com> <5147572E.8040501@redhat.com> <51475A00.8070304@redhat.com> From: Peter Maydell Date: Mon, 18 Mar 2013 18:17:54 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 00/35] hw/ reorganization, part 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "Edgar E. Iglesias" , Richard Henderson , qemu-devel@nongnu.org, =?UTF-8?Q?Andreas_F=C3=A4rber?= On 18 March 2013 18:16, Paolo Bonzini wrote: > Il 18/03/2013 19:11, Peter Maydell ha scritto: >> > So what is the better alternative? A new hw/container/? >> >> Maybe. Whatever it is, it should be a classification by kind >> of device, so we can consistently sort by kind of device >> and not part by kind of device and part by target architecture. >> >> Personally I have no issues with the existing 'all in hw/' >> arrangement; I just want you to come up with a consistent >> structure if you're going to try to change it. > > Shouldn't these containers also host the CPU device(s), rather than the > boards? And create them according to the num-cpu property? If so, they > would have to go in hw/arm. Yes, ideally they should have the CPU devices in them too. Remind me why devices which instantiate the CPU device go in hw/arm ? -- PMM