[dts][PATCH V1 4/5] tests/vhost_event_idx_interrupt: delete restore VM's interface step

Wei Ling weix.ling at intel.com
Wed Jun 22 08:30:29 CEST 2022


In framework/virt_base.py, the start VMs method bind_dev default is
True, when bind_dev=True, VMs will bind the VM's interfacet to kernel
driver, so no need to restore VM's interface step now.

Signed-off-by: Wei Ling <weix.ling at intel.com>
---
 tests/TestSuite_vhost_event_idx_interrupt.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py
index 1713f980..f3951c5c 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt.py
@@ -196,7 +196,6 @@ class TestVhostEventIdxInterrupt(TestCase):
                     raise Exception("Set up VM ENV failed")
             except Exception as e:
                 self.logger.error("ERROR: Failure for %s" % str(e))
-            vm_dut.restore_interfaces()
             self.vm_dut.append(vm_dut)
             self.vm.append(vm_info)
 
-- 
2.25.1



More information about the dts mailing list