Red Hat Bugzilla – Bug 508040
Windows XP not using all CPUS
Last modified: 2014-03-25 20:58:38 EDT
Description of problem:
WindowsXP uses only two cpus even if kvm provide more
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run kvm -smp 4 with windowsxp guest
2. wait for windows to complete booting
3. check number of cpus monitors in task manager (if there is 1 install smp HAL)
2 cpu monitors
4 cpu monitors
This is not, strictly speaking, a bug, since WindowsXP deliberately refuses to use more then 2 physical cpus, but we can pretend that we have 2 cpus with 2 cores and make windowsxp to use all of them.
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.
New patches posted upstream by Andre Przywara from AMD:
The following is what ended up being committed:
Syntax: -smp smp_value[,cores=nr_cores][,threads=nr_threads][,socket=nr_sockets][,maxcpus=max_cpus]
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.