Code Review
/
yardstick.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "YAML fixes"
[yardstick.git]
/
yardstick
/
benchmark
/
contexts
/
sriov.py
diff --git
a/yardstick/benchmark/contexts/sriov.py
b/yardstick/benchmark/contexts/sriov.py
index
da143cc
..
fe27d25
100644
(file)
--- a/
yardstick/benchmark/contexts/sriov.py
+++ b/
yardstick/benchmark/contexts/sriov.py
@@
-392,7
+392,7
@@
class Sriov(StandaloneContext):
for i in range(0, 10):
self.connection.execute(
"virsh vcpupin vm1 {0} {1}".format(
for i in range(0, 10):
self.connection.execute(
"virsh vcpupin vm1 {0} {1}".format(
- i, nodes[str(num_nodes - 1)][i]))
+ i, nodes[str(num_nodes - 1)][i
% len(nodes[str(num_nodes - 1)])
]))
def get_numa_nodes(self):
nodes_sysfs = glob.iglob("/sys/devices/system/node/node*")
def get_numa_nodes(self):
nodes_sysfs = glob.iglob("/sys/devices/system/node/node*")