This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] hotplug vcpu problem to Centos 5.2 DomU

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] hotplug vcpu problem to Centos 5.2 DomU
From: "Felix Chu" <felixchu@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 9 Feb 2009 23:28:05 +0800
Delivery-date: Mon, 09 Feb 2009 07:28:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmKywDDQg2RBzSjTeGmVkLYTD98Dw==

My dom0 is uing Centos 5.2 x64. I have just upgraded Xen from 3.3.0 to 3.3.1. After upgraded, I find that I cannot hotplug additional vcpu anymore.


I have a domU “linux1” which is a paravirtualized vm with centos 5.2. I try to “xm vcpu-set linux1 4”, it does not have any error message, but those vcpu cannot be displayed. I also tried to add vcpu using “virsh setvcpus linux1 4”, it shows “error. Too many virtual CPUSs”. Below is the command result. Anyone know how solve? I remember that it can hotplug cpu before upgrading to 3.3.1.


As you see below, my physical machine is a dual-xeon(quad core), so total there are 8 VCPUs in Dom0.


[root@xen2 /]# xm list

Name                                        ID   Mem VCPUs      State   Time(s)

Domain-0                                     0 26932     8     r-----    200.3

linux1                                       8  3300     2     -b----      3.8

xp1                                          5  2000     2     -b----    127.1


[root@xen2 etc]# xm vcpu-set linux1 4


[root@xen2 /]# virsh setvcpus linux1 4  

error: Too many virtual CPUs.

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>