From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42594) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6T0T-0002q7-1s for qemu-devel@nongnu.org; Wed, 21 Sep 2011 16:02:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6T0R-0004R2-LF for qemu-devel@nongnu.org; Wed, 21 Sep 2011 16:02:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:64880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6T0R-0004Qv-CX for qemu-devel@nongnu.org; Wed, 21 Sep 2011 16:02:55 -0400 From: Alex Williamson Date: Wed, 21 Sep 2011 14:02:51 -0600 In-Reply-To: <0NZZCL-1R6MRY0ITD-0002EJ@icpu820.kundenserver.de> References: <0NZZCL-1R6MRY0ITD-0002EJ@icpu820.kundenserver.de> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Message-ID: <1316635372.4443.104.camel@bling.home> Mime-Version: 1.0 Subject: Re: [Qemu-devel] Enabling Hyperthreading for Guest List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: erik.rull@rdsoftware.de Cc: qemu-devel@nongnu.org On Wed, 2011-09-21 at 15:02 +0200, erik.rull@rdsoftware.de wrote: > Hi all, > > I'm searching for a switch to enable hyperthreading for my Windows XP > Guest. Currently I only get 2 cores available in the taskmanager but listed > 4 or 8 (depending on the smp-switch). > > After having read that XP supports only up to 2 cores but also with HT this > should show me 4 cores. > What must I do to get 4 cores visible in the Windows taskmanager? > Is there a QEMU-BIOS option to enable? See the extended -smp options: -smp n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets] set the number of CPUs to 'n' [default=1] maxcpus= maximum number of total cpus, including offline CPUs for hotplug, etc cores= number of CPU cores on one socket threads= number of threads on one CPU core sockets= number of discrete sockets in the system Try something like: -smp 4,cores=2,threads=2,sockets=1 Alex