diff mbox series

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

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

Checks

Context Check Description
ci/Intel-dts-suite-test fail Testing issues
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-format-test success Testing OK

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_cbdma.py | 1 -
 1 file changed, 1 deletion(-)

Comments

Tu, Lijuan June 29, 2022, 1:31 a.m. UTC | #1
On Wed, 22 Jun 2022 02:30:39 -0400, Wei Ling <weix.ling@intel.com> wrote:
> 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>


Series applied, thanks
diff mbox series

Patch

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)