From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ki7Lm-0003Ha-Hb for qemu-devel@nongnu.org; Tue, 23 Sep 2008 08:50:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ki7Lk-0003Gl-00 for qemu-devel@nongnu.org; Tue, 23 Sep 2008 08:50:41 -0400 Received: from [199.232.76.173] (port=58654 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki7Lj-0003Gd-Ms for qemu-devel@nongnu.org; Tue, 23 Sep 2008 08:50:39 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:38929) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ki7Lj-0002iv-3p for qemu-devel@nongnu.org; Tue, 23 Sep 2008 08:50:39 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [patch] move MAX_CPUS to cpu.h Date: Tue, 23 Sep 2008 13:50:33 +0100 References: <48D8D694.1000609@sgi.com> <200809231308.16398.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809231350.34178.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes Sorensen Cc: Anthony Liguori , qemu-devel@nongnu.org On Tuesday 23 September 2008, Jes Sorensen wrote: > >>>>> "Paul" == Paul Brook writes: > > Paul> On Tuesday 23 September 2008, Jes Sorensen wrote: > >> Index: qemu/target-arm/cpu.h > >> =================================================================== > >> --- qemu.orig/target-arm/cpu.h +++ qemu/target-arm/cpu.h +#define > >> MAX_CPUS 1 > > Paul> Anything using the value to allocate per-cpu structures will be > Paul> wrong. > > What do you mean? There's plenty places where you will want to only > allocate enough space for the number of cpus you want to support. Some ARM boards have 4 cpus, they just don't use the -smp option. Paul