Hide Forgot
---Problem Description--- Command "virsh setvcpus <domainname> <vcpucount>" is not working. # virsh list Id Name State ---------------------------------- 28 R6-64 running 29 R6-32 running 33 rhel5.6-32 running 37 SLES11-32 running # virsh setvcpus 37 3 error: internal error unable to execute QEMU command 'cpu_set': The command cpu_set has not been found ---uname output--- Linux phx3.in.ibm.com 2.6.32-118.el6.x86_64 #1 SMP Tue Feb 22 11:15:55 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Machine Type = HS22 ---Debugger--- A debugger is not configured ---Steps to Reproduce--- 1. Start a guest OS giving virsh command: virsh create <xml-file-name> 2. Once the guest is started, give the command : virsh setvcpus <domainname> <cpu-count> ---KVM Component Data--- Userspace tool common name: virsh The userspace tool has the following bit modes: 64 bit Userspace rpm: libvirt-0.8.7-7.el6.x86_64 Userspace tool obtained from project website: na 1.Server architecture(s) (please list all effected) (x86/POWER6/Z/etc.): x86 2.Server type (9117-MMA/HS20/s390/etc.): HS22 3.General component (desktop/kernel/base OS/dev tools/etc.): virsh 4.Other components involved (ixgbe/java/emulex/etc.): no 5.Does the server have the latest GA firmware? yes 6.Has the problem been shown to occur on more than one system? yes 7.Is a tested patch available? no If yes to the above, has it been approved upstream? 8.What is the latest official Red Hat build on which this bug has been seen? 6.1 Alpha ------- This looks identical to https://bugzilla.redhat.com/show_bug.cgi?id=533138, Should this work in 6.1 Alpha?
This is a limitation in the qemu monitor commands - qemu support for CPU hotplug is not yet fully functional. Libvirt can't do any better than what qemu provides, and qemu isn't slated to fix things until RHEL 6.2 when bug 562886 is fixed. *** This bug has been marked as a duplicate of bug 533138 ***