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

[Xen-devel] [PATCH] Fix xm start command



Hi,

When I tested the xm start command, I found a small bug. 
It's not able to set scheduler parameters (cpu_weight and 
cpu_cap).

# xm new /xen/vm1.conf cpu_weight=512 cpu_cap=150
Using config file "/xen/vm1.conf".
# xm start vm1
# xm sched-credit -d vm1
Name                              ID Weight Cap
vm1                                1    256    0


I fixed it. Test result is as follows. 

# xm new /xen/vm1.conf cpu_weight=512 cpu_cap=150
Using config file "/xen/vm1.conf".
# xm start vm1
# xm sched-credit -d vm1
Name                              ID Weight Cap
vm1                                2    512  150

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

Best regards,
 Kan

Attachment: xm_start_weight_and_cap.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®.