All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: erik.rull@rdsoftware.de
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Enabling Hyperthreading for Guest
Date: Wed, 21 Sep 2011 14:02:51 -0600	[thread overview]
Message-ID: <1316635372.4443.104.camel@bling.home> (raw)
In-Reply-To: <0NZZCL-1R6MRY0ITD-0002EJ@icpu820.kundenserver.de>

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

  reply	other threads:[~2011-09-21 20:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-21 13:02 [Qemu-devel] Enabling Hyperthreading for Guest erik.rull
2011-09-21 20:02 ` Alex Williamson [this message]
2011-09-22 16:43   ` Erik Rull
2011-09-22 17:15     ` Alex Williamson
2011-09-23 15:29       ` Erik Rull
2011-09-23 16:49         ` Alex Williamson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1316635372.4443.104.camel@bling.home \
    --to=alex.williamson@redhat.com \
    --cc=erik.rull@rdsoftware.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.