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] Fix long options of xm sched-credit

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix long options of xm sched-credit
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 08 Nov 2007 10:56:21 +0900
Delivery-date: Wed, 07 Nov 2007 17:57:37 -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,

Long options of xm sched-credit command are ignored. 

# xm sched-credit --domain=vm1
Name                                ID Weight  Cap
Domain-0                             0    256    0
vm1                                  2    256    0
# xm sched-credit --domain=vm1 --weight=512 --cap=50
Name                                ID Weight  Cap
Domain-0                             0    256    0
vm1                                  2    256    0


Long options of xm sched-credit command work by this patch.

# xm sched-credit --domain=vm1
Name                                ID Weight  Cap
vm1                                  3    256    0
# xm sched-credit --domain=vm1 --weight=512 --cap=50
# xm sched-credit --domain=vm1
Name                                ID Weight  Cap
vm1                                  3    512   50


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

Best regards,
 Kan

Attachment: xm_sched_credit_long.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] Fix long options of xm sched-credit, Masaki Kanno <=