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 3708DA00C5; Thu, 1 Dec 2022 07:38:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3163142D0D; Thu, 1 Dec 2022 07:38:38 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 67EC942C54 for ; Thu, 1 Dec 2022 07:38:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669876716; x=1701412716; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=hpU44ea81lCRYcREEWvLkS6rbYfs4849CmRXP1ZjBj0=; b=KeZ1Si8V3FwBcw5lJfwoovOqamfzqmeu1Dw8NTrwxWA3E+rtXW+yfqCy wpeP5M8hHMOH4UENY+hrFvrDAYN1HnFqXUVZTLze8wH4uojuJzkmmv49S xkJ3GrwFTpbY3KXVmU/uqV0Rj3tykJR4yGIPAxuPWBiih2AEtWkHPYeeJ 7/cDZW8DcAP6dhGkmZVm6CzoaGyQJVm039hBXR4SgF4wk2fydBHSRUw+n yvLanhvX+Nulr5sik/VsiL56XIMoBqpadj7k2eaMR6jFuQ5CX7NPgukuN L8RdlzLVY0yxuPnwZbKg58Ly+02BdPhMGIcV0W7B6QnU15Y0I1h0VkZ0a w==; X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="316757523" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="316757523" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 22:38:30 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10547"; a="713103809" X-IronPort-AV: E=Sophos;i="5.96,207,1665471600"; d="scan'208";a="713103809" Received: from unknown (HELO localhost.localdomain) ([10.239.252.222]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Nov 2022 22:38:28 -0800 From: Wei Ling To: dts@dpdk.org Cc: Wei Ling Subject: [dts][PATCH V1] tests/*: use the same qemu config to start VM Date: Thu, 1 Dec 2022 14:32:43 +0800 Message-Id: <20221201063243.1173156-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 Use the same QEMU config file to start VM as soon as possible so that can maintain fewer config file. Signed-off-by: Wei Ling --- tests/TestSuite_pvp_diff_qemu_version.py | 2 +- tests/TestSuite_pvp_vhost_user_reconnect.py | 2 +- tests/TestSuite_vhost_event_idx_interrupt.py | 2 +- tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +- tests/TestSuite_virtio_pvp_regression.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_pvp_diff_qemu_version.py b/tests/TestSuite_pvp_diff_qemu_version.py index c62a22a9..02682815 100644 --- a/tests/TestSuite_pvp_diff_qemu_version.py +++ b/tests/TestSuite_pvp_diff_qemu_version.py @@ -171,7 +171,7 @@ class TestVhostPVPDiffQemuVersion(TestCase): """ start vm """ - self.vm = VM(self.dut, "vm0", "pvp_diff_qemu_version") + self.vm = VM(self.dut, "vm0", self.suite_name) vm_params = {} vm_params["driver"] = "vhost-user" vm_params["opt_path"] = "%s/vhost-net" % self.base_dir diff --git a/tests/TestSuite_pvp_vhost_user_reconnect.py b/tests/TestSuite_pvp_vhost_user_reconnect.py index 646a9202..93006413 100644 --- a/tests/TestSuite_pvp_vhost_user_reconnect.py +++ b/tests/TestSuite_pvp_vhost_user_reconnect.py @@ -160,7 +160,7 @@ class TestPVPVhostUserReconnect(TestCase): if packed is True: setting_args = "%s,packed=on" % setting_args for i in range(self.vm_num): - vm_info = VM(self.dut, "vm%d" % i, "vhost_sample_copy") + vm_info = VM(self.dut, "vm%d" % i, "vhost_sample") vm_params = {} vm_params["driver"] = "vhost-user" vm_params["opt_path"] = "./vhost-net%d" % (i) diff --git a/tests/TestSuite_vhost_event_idx_interrupt.py b/tests/TestSuite_vhost_event_idx_interrupt.py index f3951c5c..2784729e 100644 --- a/tests/TestSuite_vhost_event_idx_interrupt.py +++ b/tests/TestSuite_vhost_event_idx_interrupt.py @@ -171,7 +171,7 @@ class TestVhostEventIdxInterrupt(TestCase): start qemus """ for i in range(vm_num): - vm_info = VM(self.dut, "vm%d" % i, "vhost_sample_copy") + vm_info = VM(self.dut, "vm%d" % i, "vhost_sample") vm_info.load_config() vm_params = {} vm_params["driver"] = "vhost-user" diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py index cfef63fa..a1f3e8dd 100644 --- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py +++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py @@ -154,7 +154,7 @@ class TestVhostVirtioPmdInterrupt(TestCase): """ start qemus """ - self.vm = VM(self.dut, "vm0", self.suite_name) + self.vm = VM(self.dut, "vm0", "vhost_sample") self.vm.load_config() vm_params = {} vm_params["driver"] = "vhost-user" diff --git a/tests/TestSuite_virtio_pvp_regression.py b/tests/TestSuite_virtio_pvp_regression.py index 83d0e6bc..7400429e 100644 --- a/tests/TestSuite_virtio_pvp_regression.py +++ b/tests/TestSuite_virtio_pvp_regression.py @@ -200,7 +200,7 @@ class TestVirtioPVPRegression(TestCase): """ start vm """ - self.vm = VM(self.dut, "vm0", self.suite_name) + self.vm = VM(self.dut, "vm0", "vhost_sample") vm_params = {} vm_params["driver"] = "vhost-user" vm_params["opt_path"] = "%s/vhost-net" % self.base_dir -- 2.25.1