[V1] tests/*: use the same qemu config to start VM
Checks
Context |
Check |
Description |
ci/Intel-dts-format-test |
success
|
Testing OK
|
ci/Intel-dts-pylama-test |
success
|
Testing OK
|
ci/Intel-dts-suite-test |
warning
|
SKIPPED
|
Commit Message
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 <weix.ling@intel.com>
---
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(-)
Comments
> -----Original Message-----
> From: Wei Ling <weix.ling@intel.com>
> Sent: Thursday, December 1, 2022 2:33 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/*: use the same qemu config to start VM
>
> 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 <weix.ling@intel.com>
> ---
Acked-by: Xingguang He<xingguang.he@intel.com>
@@ -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
@@ -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)
@@ -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"
@@ -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"
@@ -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