aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2019-06-06 12:16:12 +0000
committerPeter Mikus <pmikus@cisco.com>2019-06-09 05:42:14 +0000
commit233eeb3e9c9fb8d3c300d745fab8112a19d981db (patch)
treef771db4a828ab45ec2843c8bd7fa199e902724fe /resources/libraries/python
parent80e06faea73f1574cdb932c25211162121fabd26 (diff)
CSIT-1521 Convert NestedVM testcase into KernelVM
Change-Id: Ic493253dc29dad4fc7e6541e4b839ca5898a6a40 Signed-off-by: Peter Mikus <pmikus@cisco.com>
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()