[dts][PATCH V6 2/2] framework/virt_base: add pin_threads parameter when start VM
Wei Ling
weix.ling at intel.com
Tue Dec 13 09:14:42 CET 2022
Add pin_threads parameter when start VM default pin_threads=True.
Signed-off-by: Wei Ling <weix.ling at intel.com>
---
framework/virt_base.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/framework/virt_base.py b/framework/virt_base.py
index a7fc8c4e..9b560855 100644
--- a/framework/virt_base.py
+++ b/framework/virt_base.py
@@ -273,7 +273,14 @@ class VirtBase(object):
self._attach_vm()
return None
- def start(self, load_config=True, set_target=True, cpu_topo="", bind_dev=True):
+ def start(
+ self,
+ load_config=True,
+ set_target=True,
+ cpu_topo="",
+ bind_dev=True,
+ pin_threads=True,
+ ):
"""
Start VM and instantiate the VM with VirtDut.
"""
--
2.25.1
More information about the dts
mailing list