diff mbox series

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

Message ID 20220622063029.1589135-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers show
Series delete restore VM's interface step | expand

Commit Message

Ling, WeiX June 22, 2022, 6:30 a.m. UTC
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@intel.com>
---
 tests/TestSuite_vhost_event_idx_interrupt.py | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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)