# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1183729161 -3600
# Node ID f20ee5bc9d28cab8a27e2bd073b72033adb7f9a7
# Parent 57398acc1480b187bab4f44be54477aa0870a25b
xend: Fix op_domain_sched_credit_set() in SrvDomain.py
This patch adds "cap" into op_domain_sched_credit_set().
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/server/SrvDomain.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 57398acc1480 -r f20ee5bc9d28 tools/python/xen/xend/server/SrvDomain.py
--- a/tools/python/xen/xend/server/SrvDomain.py Fri Jul 06 14:38:22 2007 +0100
+++ b/tools/python/xen/xend/server/SrvDomain.py Fri Jul 06 14:39:21 2007 +0100
@@ -155,7 +155,8 @@ class SrvDomain(SrvDir):
def op_domain_sched_credit_set(self, _, req):
fn = FormFn(self.xd.domain_sched_credit_set,
[['dom', 'int'],
- ['weight', 'int']])
+ ['weight', 'int'],
+ ['cap', 'int']])
val = fn(req.args, {'dom': self.dom.domid})
return val
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|