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

Wei Ling weix.ling at intel.com
Wed Jun 22 08:30:39 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_cbdma.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
index 173ce925..2cf54df5 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
@@ -242,7 +242,6 @@ class TestVhostEventIdxInterruptCbdma(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