direct-io.hg

changeset 15476:f20ee5bc9d28

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>
author kfraser@localhost.localdomain
date Fri Jul 06 14:39:21 2007 +0100 (2007-07-06)
parents 57398acc1480
children 3196b63a7301
files tools/python/xen/xend/server/SrvDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/server/SrvDomain.py	Fri Jul 06 14:38:22 2007 +0100
     1.2 +++ b/tools/python/xen/xend/server/SrvDomain.py	Fri Jul 06 14:39:21 2007 +0100
     1.3 @@ -155,7 +155,8 @@ class SrvDomain(SrvDir):
     1.4      def op_domain_sched_credit_set(self, _, req):
     1.5          fn = FormFn(self.xd.domain_sched_credit_set,
     1.6                      [['dom', 'int'],
     1.7 -                     ['weight', 'int']])
     1.8 +                     ['weight', 'int'],
     1.9 +                     ['cap', 'int']])
    1.10          val = fn(req.args, {'dom': self.dom.domid})
    1.11          return val
    1.12