aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python')
-rw-r--r--resources/libraries/python/QemuManager.py5
-rw-r--r--resources/libraries/python/QemuUtils.py1
2 files changed, 1 insertions, 5 deletions
diff --git a/resources/libraries/python/QemuManager.py b/resources/libraries/python/QemuManager.py
index 6f5db6ecbb..c9b89f0905 100644
--- a/resources/libraries/python/QemuManager.py
+++ b/resources/libraries/python/QemuManager.py
@@ -113,11 +113,6 @@ class QemuManager(object):
if pinning:
machine.qemu_set_affinity(*machine_affinity)
- def set_scheduler_all_vms(self):
- """Set CFS scheduler policy on all VMs in manager."""
- for machine in self.machines.values():
- machine.qemu_set_scheduler_policy()
-
def kill_all_vms(self, force=False):
"""Kill all added VMs in manager.
diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py
index 735feab403..9c021763bd 100644
--- a/resources/libraries/python/QemuUtils.py
+++ b/resources/libraries/python/QemuUtils.py
@@ -206,6 +206,7 @@ class QemuUtils(object):
vpp_config.add_cpu_corelist_workers('1-{smp}'.
format(smp=self._opt.get('smp')-1))
vpp_config.add_dpdk_dev('0000:00:06.0', '0000:00:07.0')
+ vpp_config.add_dpdk_dev_default_rxq(kwargs['queues'])
vpp_config.add_dpdk_log_level('debug')
if not kwargs['jumbo_frames']:
vpp_config.add_dpdk_no_multi_seg()