From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5435A04FD; Wed, 22 Jun 2022 08:33:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C09FA4069F; Wed, 22 Jun 2022 08:33:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id A7F614069C for ; Wed, 22 Jun 2022 08:32:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879578; x=1687415578; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=uIB/BT7+rTeoWhIAF5rK5AdH7oAhF81Aa1zHXLVdjQg=; b=d3uFKP0OxwVWBlIu7isOFJap3UZ89Ou4ovU5gS/Cy/QKN1M556q2RlBw inq/QOinyh1yJ+KdBdJUcPIOpv/77CjEh9IBTl1L+eYUIl5wEuPvydviW N6h0JVpmLa3kwopFnS4kiilqnyOkk3trfmIWSNGsANcj4q9Qlfer/s9ow YK7hLy9wQUNivxSz7zwe9VnXOan5/yeOj2JxuuT7PzeIP7RSyD2MlEIPz omNS3Sg3SqjU+SWP+DjVdxDGtBFeCbtfTJNBWrbQJSA613R49hbpBXL6J FxC3Wae214GGFYyNrkyX7bU85HwCOuHnkpL+Xloy/7kyJxV2EJp57jPKI Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="344319411" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="344319411" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:57 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945890" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:56 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 5/5] tests/vhost_event_idx_interrupt_cbdma: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:39 -0400 Message-Id: <20220622063039.1589195-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org 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 --- 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