From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: [Qemu-devel] Re: [RFC] allow multi-core guests: introduce cores= option to -cpu Date: Sat, 4 Jul 2009 01:04:58 +0100 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 Cc: Brian Jackson , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Andre Przywara Return-path: Received: from mail2.shareable.org ([80.68.89.115]:48123 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753030AbZGDAE7 (ORCPT ); Fri, 3 Jul 2009 20:04:59 -0400 Content-Disposition: inline In-Reply-To: <4A4E8BAE.7090602@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: 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