Bug 688364 - "virsh setvcpus" giving error
Summary: "virsh setvcpus" giving error
Keywords:
Status: CLOSED DUPLICATE of bug 533138
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.1
Hardware: x86_64
OS: All
unspecified
medium
Target Milestone: rc
: ---
Assignee: Daniel Veillard
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-16 21:31 UTC by IBM Bug Proxy
Modified: 2011-04-14 05:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-16 21:41:56 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 70704 0 None None None Never

Description IBM Bug Proxy 2011-03-16 21:31:11 UTC
---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?

Comment 2 Eric Blake 2011-03-16 21:41:56 UTC
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 ***


Note You need to log in before you can comment on or make changes to this bug.