|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xm: Fix long options of xm sched-credit
# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1194517402 0
# Node ID 6d7ea0cf6e5b16529bce7cb25ec9c7d22b86dc83
# Parent 03e7f6806adbefe9203bc292124a07c029edc707
xm: Fix long options of xm sched-credit
Long options of xm sched-credit command are ignored (--domain,
--weight, --cap). This patch fixes it.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xm/main.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff -r 03e7f6806adb -r 6d7ea0cf6e5b tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Thu Nov 08 10:21:47 2007 +0000
+++ b/tools/python/xen/xm/main.py Thu Nov 08 10:23:22 2007 +0000
@@ -1529,11 +1529,11 @@ def xm_sched_credit(args):
cap = None
for o, a in opts:
- if o == "-d":
+ if o in ["-d", "--domain"]:
domid = a
- elif o == "-w":
+ elif o in ["-w", "--weight"]:
weight = int(a)
- elif o == "-c":
+ elif o in ["-c", "--cap"]:
cap = int(a);
doms = filter(lambda x : domid_match(domid, x),
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xm: Fix long options of xm sched-credit,
Xen patchbot-unstable <=
|
|
|
|
|