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.