diff options
Diffstat (limited to 'yardstick/benchmark/contexts/ovsdpdk.py')
-rw-r--r-- | yardstick/benchmark/contexts/ovsdpdk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/contexts/ovsdpdk.py b/yardstick/benchmark/contexts/ovsdpdk.py index 86610305e..cf5529d89 100644 --- a/yardstick/benchmark/contexts/ovsdpdk.py +++ b/yardstick/benchmark/contexts/ovsdpdk.py @@ -329,7 +329,7 @@ class Ovsdpdk(StandaloneContext): 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*") |