[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix xm vcpu-set command for the managed domain



Hi,

Currently, the number of VCPUs of the managed domain does not 
change immediately after xm vcpu-set command.  We finally can 
confirm that it changed after starting the domain by xm start 
command. 

# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm vcpu-set vm1 1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm start vm1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                          1   256     1     -b----     24.3


This patch changes the number of VCPUs of the managed domain 
immediately after xm vcpu-set command. 

# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     2                 0.0
# xm vcpu-set vm1 1
# xm list vm1
Name                                        ID   Mem VCPUs      State   Time(s)
vm1                                              256     1                 0.0


Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>

Best regards,
 Kan

Attachment: xm_vcpuset.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.