[libvirt-users] setvcpus --guest on windows

Thomas Stein
2014-11-04T16:55:59Z

Hello.

Just a quick question. Is "setvcpus $windowsVM --guest 4" supposed to
work? I have qemu-guest-agent (1.6.something) running inside a windows7
vm but all i get is:

virsh # setvcpus windows7 --guest 4
error: invalid argument: requested vcpu count is greater than the count
of enabled vcpus in the domain: 4 > 1

The xml file looks like this:

<vcpu placement='static' current='1'>4</vcpu>

cheers
t.