From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJRDs-0000EV-5P for qemu-devel@nongnu.org; Wed, 24 Jun 2009 08:05:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJRDn-0000DH-54 for qemu-devel@nongnu.org; Wed, 24 Jun 2009 08:05:03 -0400 Received: from [199.232.76.173] (port=32788 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJRDn-0000DE-2B for qemu-devel@nongnu.org; Wed, 24 Jun 2009 08:04:59 -0400 Received: from relay3.sgi.com ([192.48.156.57]:36313 helo=relay.sgi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJRDm-0008WO-Hi for qemu-devel@nongnu.org; Wed, 24 Jun 2009 08:04:58 -0400 Message-ID: <4A421666.6050902@sgi.com> Date: Wed, 24 Jun 2009 14:04:54 +0200 From: Jes Sorensen MIME-Version: 1.0 References: <20090624083512.766907560@sgi.com> <20090624083725.117898545@sgi.com> <4A41EBBD.3090707@redhat.com> <4A41EBB8.5000802@sgi.com> <4A41EEC9.9060003@redhat.com> In-Reply-To: <4A41EEC9.9060003@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [patch 1/2] Introduce -smp , maxcpus= flag to specify maximum number of CPUS. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Anthony Liguori , qemu-devel@nongnu.org On 06/24/2009 11:15 AM, Avi Kivity wrote: > On 06/24/2009 12:02 PM, Jes Sorensen wrote: >> Actually this is on purpose. The PC machine has a max limit of 255, if >> we use that as the max per default, you are going to get a BIOS >> declaring 255 possible CPUs and certain broken operating systems are not >> going to boot. >> >> So I will argue the code is correct as is. > > What about the various ARMs, powerpcs, and sparcs that we support? None of them are affected by the maxcpus patch. They still have their check making sure that the -smp argument doesn't exceed whats specified in their machine description. Jes