[libvirt-users] Windows Guest ignores CPU topology settings on Ubuntu Lucid host

I try to assign 8 host cores to Windows 2003 Server Standard guest. Because this OS version has a limit of 4 sockets, I have to change the CPU topology. My guest definition: <vcpu>8</vcpu> <cpu match='minimum'> <model>core2duo</model> <topology sockets='4' cores='1' threads='2'/> </cpu> doesn't work as expected. I should have 4 CPUs in the Device Manager and 8 CPU charts in Task Manager, but I have the opposite. And no matter what numbers I set in the topology, the guest always detects 8 sockets. What am I doing wrong? libvirt 0.7.5 qemu-kvm 0.12.3 -- Karol Jędrzejczyk

On 23.01.2015 13:50, Karol Jędrzejczyk wrote:
I try to assign 8 host cores to Windows 2003 Server Standard guest. Because this OS version has a limit of 4 sockets, I have to change the CPU topology. My guest definition:
<vcpu>8</vcpu> <cpu match='minimum'> <model>core2duo</model> <topology sockets='4' cores='1' threads='2'/> </cpu>
doesn't work as expected. I should have 4 CPUs in the Device Manager and 8 CPU charts in Task Manager, but I have the opposite. And no matter what numbers I set in the topology, the guest always detects 8 sockets. What am I doing wrong?
libvirt 0.7.5 qemu-kvm 0.12.3
Probably this ^^^. That's rather ancient libvirt and qemu. Try to upgrade. Michal

W dniu 2015-01-26 o 12:48, Michal Privoznik pisze:
On 23.01.2015 13:50, Karol Jędrzejczyk wrote:
I try to assign 8 host cores to Windows 2003 Server Standard guest. Because this OS version has a limit of 4 sockets, I have to change the CPU topology. My guest definition:
<vcpu>8</vcpu> <cpu match='minimum'> <model>core2duo</model> <topology sockets='4' cores='1' threads='2'/> </cpu>
doesn't work as expected. I should have 4 CPUs in the Device Manager and 8 CPU charts in Task Manager, but I have the opposite. And no matter what numbers I set in the topology, the guest always detects 8 sockets. What am I doing wrong?
libvirt 0.7.5 qemu-kvm 0.12.3
Probably this ^^^. That's rather ancient libvirt and qemu. Try to upgrade.
Upgraded, everything works, thank you. -- Karol Jędrzejczyk
participants (2)
-
Karol Jędrzejczyk
-
Michal Privoznik