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

[Xen-devel] [PATCH] Save scheduler parameters of managed domain to config.sxp



Hi,

When I restarted xend, the scheduler parameters of the managed 
domain were reverted to the first value. 

 # xm new /xen/vm1.conf 
 Using config file "/xen/vm1.conf".
 # xm start vm1
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  1    512  100
 # xm sched-credit -d vm1 -w 256 -c 50
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  1    256   50
 # xm shutdown vm1
 # xend stop
 # xend start
 # xm start vm1
 # xm sched-credit -d vm1
 Name                                ID Weight  Cap
 vm1                                  3    512  100


This patch saves the scheduler parameters of the managed domain 
to config.sxp. 

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

Best regards,
 Kan

 

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