get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/96363/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 96363,
    "url": "https://patches.dpdk.org/api/patches/96363/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210729102738.87558-1-linglix.chen@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210729102738.87558-1-linglix.chen@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210729102738.87558-1-linglix.chen@intel.com",
    "date": "2021-07-29T10:27:38",
    "name": "[V2] tests/vm2vm_virtio_pmd: fix script issues",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "8e7b5c478e10bd888ea16b508c391f78917b33b9",
    "submitter": {
        "id": 1843,
        "url": "https://patches.dpdk.org/api/people/1843/?format=api",
        "name": "Lingli Chen",
        "email": "linglix.chen@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210729102738.87558-1-linglix.chen@intel.com/mbox/",
    "series": [
        {
            "id": 18045,
            "url": "https://patches.dpdk.org/api/series/18045/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=18045",
            "date": "2021-07-29T10:27:38",
            "name": "[V2] tests/vm2vm_virtio_pmd: fix script issues",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/18045/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/96363/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/96363/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-bounces@dpdk.org>",
        "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])\n\tby inbox.dpdk.org (Postfix) with ESMTP id B32FDA0C40;\n\tThu, 29 Jul 2021 04:26:30 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 7AC2A40040;\n\tThu, 29 Jul 2021 04:26:30 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 6CA504003C\n for <dts@dpdk.org>; Thu, 29 Jul 2021 04:26:28 +0200 (CEST)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 19:26:26 -0700",
            "from unknown (HELO localhost.localdomain) ([10.240.183.77])\n by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Jul 2021 19:26:24 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10059\"; a=\"193066871\"",
            "E=Sophos;i=\"5.84,276,1620716400\"; d=\"scan'208\";a=\"193066871\"",
            "E=Sophos;i=\"5.84,276,1620716400\"; d=\"scan'208\";a=\"456693818\""
        ],
        "From": "Lingli Chen <linglix.chen@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Lingli Chen <linglix.chen@intel.com>",
        "Date": "Thu, 29 Jul 2021 10:27:38 +0000",
        "Message-Id": "<20210729102738.87558-1-linglix.chen@intel.com>",
        "X-Mailer": "git-send-email 2.32.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V2] tests/vm2vm_virtio_pmd: fix script issues",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "1.Launch virtio-pmd on VM with_mergeable_path add\n--rx-offloads=0x00002000, according to dpdk commit 4e8169eb0d2d(\"net/virtio: fix Rx scatter offload\").\n2.start_vms() use qemu_path instead mode and mergeable parameters.\n3.fix script issues:influence between cases. \n\nSigned-off-by: Lingli Chen <linglix.chen@intel.com>\n---\nV2:modifie comment use git commit description style. \nV1:modifie script.\n\n tests/TestSuite_vm2vm_virtio_pmd.py | 97 ++++++++++++++---------------\n 1 file changed, 48 insertions(+), 49 deletions(-)",
    "diff": "diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py\nindex 44f17a36..99a4602b 100644\n--- a/tests/TestSuite_vm2vm_virtio_pmd.py\n+++ b/tests/TestSuite_vm2vm_virtio_pmd.py\n@@ -66,6 +66,7 @@ class TestVM2VMVirtioPMD(TestCase):\n         self.pmd_vhost = PmdOutput(self.dut, self.vhost_user)\n         self.cbdma_dev_infos = []\n         self.vm_config = 'vhost_sample'\n+        self.device_str = ' '\n \n     def set_up(self):\n         \"\"\"\n@@ -155,20 +156,20 @@ class TestVM2VMVirtioPMD(TestCase):\n         w_pci_str = ' '.join(w_pci_list)\n         if path_mode == \"mergeable\":\n             command = self.app_testpmd_path + \" -c 0x3 -n 4 \" + \\\n-                        \"--file-prefix=virtio -- -i --tx-offloads=0x00 \" + \\\n-                        \"--enable-hw-vlan-strip \" + \"--txq={0} --rxq={0} \".format(queues) if queues else \"\"\n+                        \"--file-prefix=virtio -- -i --tx-offloads=0x00 --rx-offloads=0x00002000 \" + \\\n+                        \"--enable-hw-vlan-strip \" + (\"--txq={0} --rxq={0} \".format(queues) if queues else \"\")\n \n             command = command + \"--txd=1024 --rxd=1024 %s\"\n             vm_client.send_expect(command % extern_param, \"testpmd> \", 20)\n         elif path_mode == \"normal\":\n             command = self.app_testpmd_path + \" -c 0x3 -n 4 \" + \\\n                         \"--file-prefix=virtio -- -i --tx-offloads=0x00 \" + \\\n-                        \"--enable-hw-vlan-strip \" + \"--txq={0} --rxq={0} \".format(queues) if queues else \"\"\n+                        \"--enable-hw-vlan-strip \" + (\"--txq={0} --rxq={0} \".format(queues) if queues else \"\")\n             command = command + \"--txd=1024 --rxd=1024 %s\"\n             vm_client.send_expect(command % extern_param, \"testpmd> \", 20)\n         elif path_mode == \"vector_rx\":\n             command = self.app_testpmd_path + \" -c 0x3 -n 4 \" + \\\n-                        \"--file-prefix=virtio %s -- -i\" + \"--txq={0} --rxq={0} \".format(queues) if queues else \"\"\n+                        \"--file-prefix=virtio %s -- -i \" + (\"--txq={0} --rxq={0} \".format(queues) if queues else \"\")\n             command = command + \"--txd=1024 --rxd=1024 %s\"\n             vm_client.send_expect(command % (w_pci_str, extern_param), \"testpmd> \", 20)\n \n@@ -188,29 +189,16 @@ class TestVM2VMVirtioPMD(TestCase):\n                     \"--pdump  '%s,queue=*,rx-dev=%s,mbuf-size=8000'\"\n             self.pdump_session.send_expect(command_line % (self.dut.prefix_subfix, dump_port, self.dump_pcap), 'Port')\n \n-    def start_vms(self, mode=0, mergeable=True, server_mode=False, opt_queue=None, vm_config=''):\n+    def start_vms(self, qemu_path='', server_mode=False, opt_queue=None, vm_config='vhost_sample'):\n         \"\"\"\n         start two VM, each VM has one virtio device\n         \"\"\"\n         # for virtio 0.95, start vm with \"disable-modern=true\"\n         # for virito 1.0, start vm with \"disable-modern=false\"\n-        if mode == 0:\n-            setting_args = \"disable-modern=true\"\n-        elif mode == 1:\n-            setting_args = \"disable-modern=false\"\n-        elif mode == 2:\n-            setting_args = \"disable-modern=false,packed=on\"\n-        if mergeable is True:\n-            setting_args += \",\" + \"mrg_rxbuf=on\"\n-        else:\n-            setting_args += \",\" + \"mrg_rxbuf=off\"\n         vm_params = {}\n-        if opt_queue > 1:\n-            setting_args += \",csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on\"\n+\n+        if opt_queue is not None:\n             vm_params['opt_queue'] = opt_queue\n-            setting_args = setting_args + \",mq=on,vectors=40\"\n-        else:\n-            setting_args += \",csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n \n         for i in range(self.vm_num):\n             vm_dut = None\n@@ -222,7 +210,7 @@ class TestVM2VMVirtioPMD(TestCase):\n             else:\n                 vm_params['opt_path'] = self.base_dir + '/vhost-net%d' % i + ',server'\n             vm_params['opt_mac'] = \"52:54:00:00:00:0%d\" % (i+1)\n-            vm_params['opt_settings'] = setting_args\n+            vm_params['opt_settings'] = qemu_path\n             vm_info.set_vm_device(**vm_params)\n             time.sleep(3)\n             try:\n@@ -304,62 +292,67 @@ class TestVM2VMVirtioPMD(TestCase):\n \n     def test_vhost_vm2vm_virtio_pmd_with_normal_path(self):\n         \"\"\"\n-        vhost-user + virtio-pmd with normal path\n+        Test Case 2: vhost-user + virtio-pmd with normal path\n         \"\"\"\n+        qemu_path = \"disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         path_mode = \"normal\"\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=0, mergeable=False)\n+        self.start_vms(qemu_path=qemu_path)\n         self.start_vm_testpmd(self.vm_dut[0], path_mode)\n         self.start_vm_testpmd(self.vm_dut[1], path_mode)\n         self.send_and_verify(mode=\"virtio 0.95 normal path\", path=path_mode)\n \n     def test_vhost_vm2vm_virito_10_pmd_with_normal_path(self):\n         \"\"\"\n-        vhost-user + virtio1.0-pmd with normal path\n+        Test Case 4: vhost-user + virtio1.0-pmd with normal path\n         \"\"\"\n         path_mode = \"normal\"\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=1, mergeable=False)\n+        self.start_vms(qemu_path=qemu_path)\n         self.start_vm_testpmd(self.vm_dut[0], path_mode)\n         self.start_vm_testpmd(self.vm_dut[1], path_mode)\n         self.send_and_verify(mode=\"virtio 1.0 normal path\", path=path_mode)\n \n     def test_vhost_vm2vm_virtio_pmd_with_vector_rx_path(self):\n         \"\"\"\n-        vhost-user + virtio-pmd with vector_rx path\n+        Test Case 1: vhost-user + virtio-pmd with vector_rx path\n         \"\"\"\n         path_mode = \"vector_rx\"\n+        qemu_path = \"disable-modern=true,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=0, mergeable=False)\n+        self.start_vms(qemu_path=qemu_path)\n         self.start_vm_testpmd(self.vm_dut[0], path_mode, virtio_net_pci = self.vm_dut[0].ports_info[0]['pci'])\n         self.start_vm_testpmd(self.vm_dut[1], path_mode, virtio_net_pci = self.vm_dut[1].ports_info[0]['pci'])\n         self.send_and_verify(mode=\"virtio 0.95 vector_rx\", path=path_mode)\n \n     def test_vhost_vm2vm_virtio_10_pmd_with_vector_rx_path(self):\n         \"\"\"\n-        vhost-user + virtio1.0-pmd with vector_rx path\n+        Test Case 3: vhost-user + virtio1.0-pmd with vector_rx path\n         \"\"\"\n         path_mode = \"vector_rx\"\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=1, mergeable=False)\n+        self.start_vms(qemu_path=qemu_path)\n         self.start_vm_testpmd(self.vm_dut[0], path_mode, virtio_net_pci = self.vm_dut[0].ports_info[0]['pci'])\n         self.start_vm_testpmd(self.vm_dut[1], path_mode, virtio_net_pci = self.vm_dut[1].ports_info[0]['pci'])\n         self.send_and_verify(mode=\"virtio 1.0 vector_rx\", path=path_mode)\n \n     def test_vhost_vm2vm_virito_pmd_with_mergeable_path(self):\n         \"\"\"\n-        vhost-user + virtio-pmd with mergeable path test with payload check\n+        Test Case 5: vhost-user + virtio-pmd with mergeable path test with payload check\n         \"\"\"\n         path_mode = \"mergeable\"\n+        qemu_path = \"disable-modern=true,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         extern_param = '--max-pkt-len=9600'\n         dump_port = 'port=0'\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=0, mergeable=True)\n+        self.start_vms(qemu_path=qemu_path)\n         # git the vm enough huge to run pdump\n         self.vm_dut[0].set_huge_pages(2048)\n         # start testpmd and pdump in VM0\n@@ -377,14 +370,15 @@ class TestVM2VMVirtioPMD(TestCase):\n \n     def test_vhost_vm2vm_virito_10_pmd_with_mergeable_path(self):\n         \"\"\"\n-        vhost-user + virtio1.0-pmd with mergeable path test with payload check\n+        Test Case 6: vhost-user + virtio1.0-pmd with mergeable path test with payload check\n         \"\"\"\n         path_mode = \"mergeable\"\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on\"\n         extern_param = '--max-pkt-len=9600'\n         dump_port = 'port=0'\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=1, mergeable=True)\n+        self.start_vms(qemu_path=qemu_path)\n         # git the vm enough huge to run pdump\n         self.vm_dut[0].set_huge_pages(2048)\n         # start testpmd and pdump in VM0\n@@ -402,26 +396,28 @@ class TestVM2VMVirtioPMD(TestCase):\n \n     def test_vhost_vm2vm_virito_11_pmd_with_normal_path(self):\n         \"\"\"\n-        vhost-user + virtio1.0-pmd with normal path\n+        Test Case 8: vhost-user + virtio1.0-pmd with normal path\n         \"\"\"\n         path_mode = \"normal\"\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=off,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=2, mergeable=False)\n+        self.start_vms(qemu_path=qemu_path)\n         self.start_vm_testpmd(self.vm_dut[0], path_mode)\n         self.start_vm_testpmd(self.vm_dut[1], path_mode)\n         self.send_and_verify(mode=\"virtio 1.0 normal path\", path=path_mode)\n \n     def test_vhost_vm2vm_virito_11_pmd_with_mergeable_path(self):\n         \"\"\"\n-        vhost-user + virtio1.0-pmd with mergeable path test with payload check\n+        Test Case 7: vhost-user + virtio1.0-pmd with mergeable path test with payload check\n         \"\"\"\n         path_mode = \"mergeable\"\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=on,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,packed=on\"\n         extern_param = '--max-pkt-len=9600'\n         dump_port = 'port=0'\n         self.get_core_list(2)\n         self.start_vhost_testpmd()\n-        self.start_vms(mode=2, mergeable=True)\n+        self.start_vms(qemu_path=qemu_path)\n         # git the vm enough huge to run pdump\n         self.vm_dut[0].set_huge_pages(2048)\n         # start testpmd and pdump in VM0\n@@ -437,7 +433,7 @@ class TestVM2VMVirtioPMD(TestCase):\n          # check the packet in vm0\n         self.check_packet_payload_valid(self.vm_dut[0])\n \n-    def test_vhost_vm2vm_virtio_split_ring_with_mergeable_path_cbdma_enabled(self):\n+    def test_vhost_vm2vm_virtio_split_ring_with_mergeable_path_cbdma_enable(self):\n         \"\"\"\n         Test Case 9: VM2VM virtio-pmd split ring mergeable path 8 queues CBDMA enable with server mode stable test\n         \"\"\"\n@@ -445,8 +441,9 @@ class TestVM2VMVirtioPMD(TestCase):\n         self.get_core_list(self.nb_cores + 1)\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, queue_num=8, allow_diff_socket=True)\n         self.logger.info(\"Launch vhost-testpmd with CBDMA and used 8 queue\")\n-        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4,\n-                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8)\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on\"\n+        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4, qemu_path=qemu_path,\n+                              server_mode=True, opt_queue=8, rxq_txq=8)\n         self.logger.info(\"Launch testpmd in VM1\")\n         self.start_vm_testpmd(self.vm_dut[0], \"mergeable\", extern_param=\"--max-pkt-len=9600\", queues=\"8\")\n         self.vm_dut[0].send_expect('set fwd mac', 'testpmd> ', 30)\n@@ -469,7 +466,7 @@ class TestVM2VMVirtioPMD(TestCase):\n             self.check_port_stats_result(self.vm_dut[0], queue_num=8)\n             self.check_port_stats_result(self.vm_dut[1], queue_num=8)\n \n-    def test_vhost_vm2vm_split_ring_with_mergeable_path_and_server_mode_cbdma_enabled(self):\n+    def test_vhost_vm2vm_split_ring_with_mergeable_path_and_server_mode_cbdma_enable(self):\n         \"\"\"\n         Test Case 10: VM2VM virtio-pmd split ring mergeable path dynamic queue size CBDMA enable with server mode test\n         \"\"\"\n@@ -477,8 +474,9 @@ class TestVM2VMVirtioPMD(TestCase):\n         self.get_core_list(self.nb_cores + 1)\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, queue_num=8, allow_diff_socket=True)\n         self.logger.info(\"Launch vhost-testpmd with CBDMA and used 8 queue\")\n-        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4,\n-                              server_mode=True, opt_queue=8, combined=True, rxq_txq=8)\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on\"\n+        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=True, enable_queues=8, nb_cores=4, qemu_path=qemu_path,\n+                              server_mode=True, opt_queue=8, rxq_txq=8)\n         self.logger.info(\"Launch testpmd in VM1\")\n         self.start_vm_testpmd(self.vm_dut[0], \"mergeable\", extern_param=\"--max-pkt-len=9600\", queues=\"8\")\n         self.vm_dut[0].send_expect('set fwd mac', 'testpmd> ', 30)\n@@ -500,15 +498,16 @@ class TestVM2VMVirtioPMD(TestCase):\n         self.check_port_stats_result(self.vm_dut[0], queue_num=8)\n         self.check_port_stats_result(self.vm_dut[1], queue_num=8)\n \n-    def test_vhost_vm2vm_packed_ring_with_mergeable_path_and_8queues_cbdma_enabled(self):\n+    def test_vhost_vm2vm_packed_ring_with_mergeable_path_and_8queues_cbdma_enable(self):\n         \"\"\"\n         Test Case 11: VM2VM virtio-pmd packed ring mergeable path 8 queues CBDMA enable test\n         \"\"\"\n         self.nb_cores = 4\n         self.get_core_list(self.nb_cores + 1)\n         self.get_cbdma_ports_info_and_bind_to_dpdk(cbdma_num=16, queue_num=8, allow_diff_socket=True)\n-        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=False, enable_queues=8, nb_cores=4,\n-                              server_mode=False, opt_queue=8, combined=True, rxq_txq=8, mode=2)\n+        qemu_path = \"disable-modern=false,mrg_rxbuf=on,mq=on,vectors=40,csum=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on,guest_ufo=on,host_ufo=on,packed=on\"\n+        self.prepare_test_env(cbdma=True, no_pci=False, client_mode=False, enable_queues=8, nb_cores=4, qemu_path=qemu_path,\n+                              server_mode=False, opt_queue=8, rxq_txq=8)\n         self.logger.info(\"Launch testpmd in VM1\")\n         self.start_vm_testpmd(self.vm_dut[0], \"mergeable\", extern_param=\"--max-pkt-len=9600\", queues=\"8\")\n         self.logger.info(\"Launch testpmd in VM2 and send imix pkts\")\n@@ -616,14 +615,14 @@ class TestVM2VMVirtioPMD(TestCase):\n         vm_dut.send_expect(\"clear port stats all\", \"testpmd> \", 30)\n         vm_dut.send_expect(\"start\", \"testpmd> \", 30)\n \n-    def prepare_test_env(self, cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2,\n-                         server_mode=False, opt_queue=None, combined=False, rxq_txq=None, iova_mode=False, vm_config='vhost_sample', mode=1):\n+    def prepare_test_env(self, cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2, qemu_path='',\n+                         server_mode=False, opt_queue=None, rxq_txq=None, iova_mode=False, vm_config='vhost_sample'):\n         \"\"\"\n         start vhost testpmd and qemu, and config the vm env\n         \"\"\"\n         self.start_vhost_testpmd_cbdma(cbdma=cbdma, no_pci=no_pci, client_mode=client_mode, enable_queues=enable_queues,\n                                  nb_cores=nb_cores, rxq_txq=rxq_txq, iova_mode=iova_mode)\n-        self.start_vms(server_mode=server_mode, opt_queue=opt_queue, mode=mode, vm_config=vm_config)\n+        self.start_vms(qemu_path=qemu_path, server_mode=server_mode, opt_queue=opt_queue, vm_config=vm_config)\n \n     def start_vhost_testpmd_cbdma(self, cbdma=False, no_pci=True, client_mode=False, enable_queues=1, nb_cores=2, rxq_txq=None, iova_mode=False):\n         \"\"\"\n",
    "prefixes": [
        "V2"
    ]
}