mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
bitkeeper revision 1.1108.1.13 (4100e3a6AM3nkMAOO2NrkuSXmz7H3w)
Set parameter for fbvt call.
This commit is contained in:
1 parent
f1d52d4e73
commit
154cf9d4e5
1 file changed
+3
-1
@@ -379,6 +379,7 @@ class ProgBvtslice(Prog):
|
||||
def main(self, args):
|
||||
if len(args) < 2: self.err('%s: Missing context switch allowance'
|
||||
% args[0])
|
||||
slice = int(args[1])
|
||||
server.xend_node_cpu_bvt_slice_set(slice)
|
||||
|
||||
xm.prog(ProgBvtslice)
|
||||
@@ -411,7 +412,8 @@ class ProgFbvtslice(Prog):
|
||||
def main(self, args):
|
||||
if len(args) < 2: self.err('%s: Missing context switch allowance.'
|
||||
% args[0])
|
||||
server.xend_node_cpu_fbvt_slice_set(slice)
|
||||
ctx_allow = int(args[1])
|
||||
server.xend_node_cpu_fbvt_slice_set(ctx_allow)
|
||||
|
||||
xm.prog(ProgFbvtslice)
|
||||
|
||||
|
||||