[dts][PATCH V1] tests/vm2vm_virtio_user_cbdma: add port=[] in create_eal_parameters API

Wei Ling weix.ling at intel.com
Fri May 27 05:41:29 CEST 2022


When call the create_eal_parameters API to genrate the eal parameters,
if the default no ports parameter, the create_eal_parameters API will
use the PCI info in conf/ports.conf, so add port=[] parameter.

Signed-off-by: Wei Ling <weix.ling at intel.com>
---
 tests/TestSuite_vm2vm_virtio_user_cbdma.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vm2vm_virtio_user_cbdma.py b/tests/TestSuite_vm2vm_virtio_user_cbdma.py
index 35d69325..0057047c 100644
--- a/tests/TestSuite_vm2vm_virtio_user_cbdma.py
+++ b/tests/TestSuite_vm2vm_virtio_user_cbdma.py
@@ -269,7 +269,7 @@ class TestVM2VMVirtioUserCbdma(TestCase):
         if dump the virtio-testpmd, the virtio-testpmd should started before launch pdump
         """
         eal_params = self.dut.create_eal_parameters(
-            cores="Default", prefix="virtio-user1", fixed_prefix=True
+            cores="Default", prefix="virtio-user1", fixed_prefix=True, ports=[]
         )
         command_line = (
             self.app_pdump
-- 
2.25.1



More information about the dts mailing list