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

[Xen-devel] [PATCH] Add error messages for xm sched commands



Hi,

Currently, the xm sched commands show the following informations 
with wrong operations. 

If Xen is running with the credit scheduler:
 # xm sched-sedf
 Name                              ID Period(ms) Slice(ms) Lat(ms) Extra Weight
 Domain-0                          -1      -0.0      -0.0    -0.0     -1     -1

If Xen is running with the sedf scheduler:
 # xm sched-credit
 Name                              ID Weight Cap 
 Domain-0                           0     -1   -1


This patch fixes the xm sched commands. When the wrong operations, 
it shows the following error messages.

If Xen is running with the credit scheduler:
 # xm sched-sedf
 Error: Xen is running with the credit scheduler

If Xen is running with the sedf scheduler:
 # xm sched-credit
 Error: Xen is running with the sedf scheduler


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

Best regards,
 Kan

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