WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Add error messages for xm sched commands
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Sun, 28 Jan 2007 16:24:48 +0900
Delivery-date: Sat, 27 Jan 2007 23:25:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Add error messages for xm sched commands, Masaki Kanno <=