From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Przywara Subject: Re: [Qemu-devel] [RFC] allow multi-core guests: introduce cores= option to -cpu Date: Sat, 4 Jul 2009 01:45:40 +0200 Message-ID: <4A4E9824.9090200@amd.com> References: <1246632116-31366-1-git-send-email-andre.przywara@amd.com> <200907031646.36268.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: 7bit Cc: qemu-devel@nongnu.org, kvm@vger.kernel.org To: Paul Brook Return-path: Received: from wa4ehsobe005.messaging.microsoft.com ([216.32.181.15]:54519 "EHLO WA4EHSOBE006.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751312AbZGCXou (ORCPT ); Fri, 3 Jul 2009 19:44:50 -0400 In-Reply-To: <200907031646.36268.paul@codesourcery.com> Sender: kvm-owner@vger.kernel.org List-ID: Paul Brook wrote: >> currently SMP guests happen to see vCPUs as different sockets. >> Some guests (Windows comes to mind) have license restrictions and refuse >> to run on multi-socket machines. >> So lets introduce a "cores=" parameter to the -cpu option to let the user >> specify the number of _cores_ the guest should see. > > Sounds like this should be part of the -numa option. Sound reasonable on the first glance, but would make it rather complicated in real life. I suppose multi-core is far more interesting to most of the people than multi-node, so I would opt for the easier: -smp 2,cores=2 to specify a dual core guest. Regards, Andre. -- Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 488-3567-12