From patchwork Wed Jun 22 06:30:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ling, WeiX" X-Patchwork-Id: 113215 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A9088A04FD; Wed, 22 Jun 2022 08:32:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A3A6140A8B; Wed, 22 Jun 2022 08:32:51 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 6B65C4069C for ; Wed, 22 Jun 2022 08:32:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655879569; x=1687415569; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=vUIef7+IIzHFl5LcpYaxa6TA+KRr2f3sY+jQQGzMQJM=; b=SH0cHLlbAzB+XC84ey7xMZDpwXF+mDAFO3+MJ0XgZ/xZJGGI54D9Ld0l uNSKDgtQ+ahnL4FPL7kQ0/nfwKuZw/1ZpUP2WBoPJSPKwuq7W6YIg+O9M +pN+UYH+xf2s+F1qpFRabEfFHuHGu2NugV2haphqFKyXe8nprN80MITQz CRVLyk0KI9ds+2HHRjA3WLEI6AZwkx4sTaGTmMd4gXGZTDM5uZXi3qcFJ 7cNcRJqCsl3FFG8YajANzCPKNKLxXOysZ541M0OSHE2pSH8FYRFKSyCF/ IgOWdY4b24i4GZPwFodhXoA/3TWBaOPrepsuf9TA+/iQaY/WFYqhGpC6n g==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="305778790" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="305778790" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 23:32:47 -0700 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="833945821" 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:46 -0700 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1 4/5] tests/vhost_event_idx_interrupt: delete restore VM's interface step Date: Wed, 22 Jun 2022 02:30:29 -0400 Message-Id: <20220622063029.1589135-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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.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)