[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Allow 'xm create' to set scheduling parameters.
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxxx # Date 1169977038 0 # Node ID fd57cef459dc80530bc76a4ffecd2dcd3ac4759a # Parent db0aeb4e41c3c4d30beb98ff33d189f5ea20322e Allow 'xm create' to set scheduling parameters. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> --- tools/python/xen/xend/XendDomain.py | 3 +++ 1 files changed, 3 insertions(+) diff -r db0aeb4e41c3 -r fd57cef459dc tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Sun Jan 28 09:35:00 2007 +0000 +++ b/tools/python/xen/xend/XendDomain.py Sun Jan 28 09:37:18 2007 +0000 @@ -943,6 +943,9 @@ class XendDomain: POWER_STATE_NAMES[dominfo.state]) dominfo.start(is_managed = True) + self.domain_sched_credit_set(dominfo.getDomid(), + dominfo.getWeight(), + dominfo.getCap()) finally: self.domains_lock.release() dominfo.waitForDevices() _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |