direct-io.hg

changeset 13653:fd57cef459dc

Allow 'xm create' to set scheduling parameters.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author kaf24@localhost.localdomain
date Sun Jan 28 09:37:18 2007 +0000 (2007-01-28)
parents db0aeb4e41c3
children 47e26ced172a
files tools/python/xen/xend/XendDomain.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomain.py	Sun Jan 28 09:35:00 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomain.py	Sun Jan 28 09:37:18 2007 +0000
     1.3 @@ -943,6 +943,9 @@ class XendDomain:
     1.4                                   POWER_STATE_NAMES[dominfo.state])
     1.5              
     1.6              dominfo.start(is_managed = True)
     1.7 +            self.domain_sched_credit_set(dominfo.getDomid(),
     1.8 +                                         dominfo.getWeight(),
     1.9 +                                         dominfo.getCap())
    1.10          finally:
    1.11              self.domains_lock.release()
    1.12          dominfo.waitForDevices()