diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-06 14:39:21 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-07-06 14:39:21 +0100 |
commit | 4c9048d9dc129dc6febc4964c936be021dbc2a97 (patch) | |
tree | 22886a885f58b97340af80093998aa1d1e1f4599 /tools | |
parent | 0c80c3b023e75720733680b9019b43d601663372 (diff) | |
download | xen-4c9048d9dc129dc6febc4964c936be021dbc2a97.tar.gz xen-4c9048d9dc129dc6febc4964c936be021dbc2a97.tar.bz2 xen-4c9048d9dc129dc6febc4964c936be021dbc2a97.zip |
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@jp.fujitsu.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/server/SrvDomain.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/python/xen/xend/server/SrvDomain.py b/tools/python/xen/xend/server/SrvDomain.py index 582793b01e..ee9f2d4a7d 100644 --- a/tools/python/xen/xend/server/SrvDomain.py +++ b/tools/python/xen/xend/server/SrvDomain.py @@ -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 |