ia64/xen-unstable

changeset 2656:cb94a45f41fb

bitkeeper revision 1.1159.115.1 (417457c52HnHChOJGxHncu97gsa5cg)

Atropos scheduler set takes 5 arguments. As noted by Diwaker Gupta.
author cl349@freefall.cl.cam.ac.uk
date Mon Oct 18 23:54:45 2004 +0000 (2004-10-18)
parents 756c16a98f27
children 1214770ada19
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Sun Oct 17 09:46:39 2004 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Mon Oct 18 23:54:45 2004 +0000
     1.3 @@ -579,9 +579,9 @@ class ProgAtropos(Prog):
     1.4          print "\nSet atropos parameters."
     1.5  
     1.6      def main(self, args):
     1.7 -        if len(args) != 5: self.err("%s: Invalid argument(s)" % args[0])
     1.8 +        if len(args) != 6: self.err("%s: Invalid argument(s)" % args[0])
     1.9          dom = args[1]
    1.10 -        v = map(int, args[2:5])
    1.11 +        v = map(int, args[2:6])
    1.12          server.xend_domain_cpu_atropos_set(dom, *v)
    1.13  
    1.14  xm.prog(ProgAtropos)