From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MMskn-0001N3-7c for qemu-devel@nongnu.org; Fri, 03 Jul 2009 20:05:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MMski-0001F7-HN for qemu-devel@nongnu.org; Fri, 03 Jul 2009 20:05:16 -0400 Received: from [199.232.76.173] (port=56475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MMski-0001Ev-DT for qemu-devel@nongnu.org; Fri, 03 Jul 2009 20:05:12 -0400 Received: from mx20.gnu.org ([199.232.41.8]:24003) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MMskh-0006Ji-Mt for qemu-devel@nongnu.org; Fri, 03 Jul 2009 20:05:12 -0400 Received: from mail2.shareable.org ([80.68.89.115]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MMskg-0002Q2-IA for qemu-devel@nongnu.org; Fri, 03 Jul 2009 20:05:10 -0400 Date: Sat, 4 Jul 2009 01:04:58 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [RFC] allow multi-core guests: introduce cores= option to -cpu Message-ID: <20090704000458.GA7702@shareable.org> References: <1246632116-31366-1-git-send-email-andre.przywara@amd.com> <4A4E20BA.2040100@theiggy.com> <4A4E8BAE.7090602@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A4E8BAE.7090602@amd.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andre Przywara Cc: Brian Jackson , qemu-devel@nongnu.org, kvm@vger.kernel.org Andre Przywara wrote: > So what about: "-smp 4,cores=2,threads=2[,sockets=1]" to inject 4 vCPUs > in one package (automatically determined if omitted) with two cores and > two threads/core? All parameters except the number of vCPUs would be > optional, Why is the number of vCPUs required at all? -smp cores=2,threads=2 The "4" is redundant. -- Jamie