ia64/xen-unstable

changeset 1882:495ae087d703

bitkeeper revision 1.1108.1.13 (4100e3a6AM3nkMAOO2NrkuSXmz7H3w)

Set parameter for fbvt call.
author mjw@wray-m-3.hpl.hp.com
date Fri Jul 23 10:08:38 2004 +0000 (2004-07-23)
parents f8df05dd9dbf
children 51b2d77c6d1f
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Thu Jul 22 16:41:11 2004 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Fri Jul 23 10:08:38 2004 +0000
     1.3 @@ -379,6 +379,7 @@ class ProgBvtslice(Prog):
     1.4      def main(self, args):
     1.5          if len(args) < 2: self.err('%s: Missing context switch allowance'
     1.6                                                              % args[0])
     1.7 +        slice = int(args[1])
     1.8          server.xend_node_cpu_bvt_slice_set(slice)
     1.9  
    1.10  xm.prog(ProgBvtslice)
    1.11 @@ -411,7 +412,8 @@ class ProgFbvtslice(Prog):
    1.12      def main(self, args):
    1.13          if len(args) < 2: self.err('%s: Missing context switch allowance.' 
    1.14                                                                  % args[0])
    1.15 -        server.xend_node_cpu_fbvt_slice_set(slice)
    1.16 +        ctx_allow = int(args[1])
    1.17 +        server.xend_node_cpu_fbvt_slice_set(ctx_allow)
    1.18  
    1.19  xm.prog(ProgFbvtslice)
    1.20