get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127818,
    "url": "http://patches.dpdk.org/api/patches/127818/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230601145422.2618903-1-dukaix.yuan@intel.com/",
    "project": {
        "id": 3,
        "url": "http://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": "<20230601145422.2618903-1-dukaix.yuan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230601145422.2618903-1-dukaix.yuan@intel.com",
    "date": "2023-06-01T14:54:22",
    "name": "[V1] test_plans/pvp_qemu_multi_paths_port_restart: optimize qemu start-up parameters",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "fe237d810e53cd4eb9c37aaa5b3739ab10c63586",
    "submitter": {
        "id": 2823,
        "url": "http://patches.dpdk.org/api/people/2823/?format=api",
        "name": "Yuan, DukaiX",
        "email": "dukaix.yuan@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20230601145422.2618903-1-dukaix.yuan@intel.com/mbox/",
    "series": [
        {
            "id": 28292,
            "url": "http://patches.dpdk.org/api/series/28292/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=28292",
            "date": "2023-06-01T14:54:22",
            "name": "[V1] test_plans/pvp_qemu_multi_paths_port_restart: optimize qemu start-up parameters",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/28292/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/127818/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/127818/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 D897242BFF;\n\tThu,  1 Jun 2023 09:16:58 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D3427406B3;\n\tThu,  1 Jun 2023 09:16:58 +0200 (CEST)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 55237406A2\n for <dts@dpdk.org>; Thu,  1 Jun 2023 09:16:56 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Jun 2023 00:16:55 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.44])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 01 Jun 2023 00:16:54 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1685603817; x=1717139817;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=kxKuPmr0bCSNjuL/q0P2Y/SFXGGHXZrRE/Uc7S3hjB0=;\n b=KkzQtrFX+DnX3XD0qFhwT9ZwRXR62m95B3nYMM3WNJOzypQ8gNNZFMzj\n DKEsq3m0DJ+1lGcaJiGPnA7q57DcQ32KE2wUNVeufOWtQxFfm+yOE6StQ\n Bvfy6a4bODYse8o7wkQKvKw37mf46I2ClLeue2TQ+IeMLXRV8xgfNcI5w\n hdnkfiSbZMAnggu+HX/+yOvStOjUKyHnBLPebp13ReFu0LbaEr81Nmokc\n RAXyxOqaJytKG9k0NgZBqcVFip+WCiRmTdK8WzlIo98AhJaKAEz3MPcfZ\n BykfTQxWgn2iM77yRHgOnay0HsZwh3U4IbS5IgWpl68wVVP9TSAQ6i4Re w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10727\"; a=\"383744632\"",
            "E=Sophos;i=\"6.00,209,1681196400\"; d=\"scan'208\";a=\"383744632\"",
            "E=McAfee;i=\"6600,9927,10727\"; a=\"684732138\"",
            "E=Sophos;i=\"6.00,209,1681196400\"; d=\"scan'208\";a=\"684732138\""
        ],
        "X-ExtLoop1": "1",
        "From": "Dukai Yuan <dukaix.yuan@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Dukai Yuan <dukaix.yuan@intel.com>",
        "Subject": "[dts][PATCH V1] test_plans/pvp_qemu_multi_paths_port_restart:\n optimize qemu start-up parameters",
        "Date": "Thu,  1 Jun 2023 14:54:22 +0000",
        "Message-Id": "<20230601145422.2618903-1-dukaix.yuan@intel.com>",
        "X-Mailer": "git-send-email 2.31.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 <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"
    },
    "content": "Starting from QEMU 5.2, the \"-net\" parameter has been removed and replaced by the \"-device\" parameter. \nIn the new QEMU version, you can use the \"-device\" parameter to set network devices.\n\nSigned-off-by: Dukai Yuan <dukaix.yuan@intel.com>\n---\n ...emu_multi_paths_port_restart_test_plan.rst | 197 ++++++++++--------\n 1 file changed, 113 insertions(+), 84 deletions(-)",
    "diff": "diff --git a/test_plans/pvp_qemu_multi_paths_port_restart_test_plan.rst b/test_plans/pvp_qemu_multi_paths_port_restart_test_plan.rst\nindex 84ee68de..5756ff58 100644\n--- a/test_plans/pvp_qemu_multi_paths_port_restart_test_plan.rst\n+++ b/test_plans/pvp_qemu_multi_paths_port_restart_test_plan.rst\n@@ -30,17 +30,19 @@ Test Case 1: pvp test with virtio 0.95 mergeable path\n \n 2. Launch VM with mrg_rxbuf feature on::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f \\\n-    -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd::\n \n@@ -80,16 +82,19 @@ Test Case 2: pvp test with virtio 0.95 normal path\n \n 2. Launch VM with mrg_rxbuf feature off::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1 \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd with tx-offloads::\n \n@@ -129,16 +134,19 @@ Test Case 3: pvp test with virtio 0.95 vector_rx path\n \n 2. Launch VM with mrg_rxbuf feature off::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd without ant tx-offloads::\n \n@@ -178,16 +186,19 @@ Test Case 4: pvp test with virtio 1.0 mergeable path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.0::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1 \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd::\n \n@@ -227,16 +238,19 @@ Test Case 5: pvp test with virtio 1.0 normal path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.0::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1 \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd with tx-offloads::\n \n@@ -276,16 +290,19 @@ Test Case 6: pvp test with virtio 1.0 vector_rx path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.0::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd without tx-offloads::\n \n@@ -325,16 +342,19 @@ Test Case 7: pvp test with virtio 1.1 mergeable path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.1::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,packed=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024,packed=on \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd::\n \n@@ -374,16 +394,19 @@ Test Case 8: pvp test with virtio 1.1 normal path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.1::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,packed=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024,packed=on \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd with tx-offloads::\n \n@@ -423,16 +446,19 @@ Test Case 9: pvp test with virtio 1.1 vector_rx path\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.1::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1  \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,packed=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024,packed=on \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd without tx-offloads::\n \n@@ -472,16 +498,19 @@ Test Case 10: pvp test with virtio 1.0 mergeable path restart 10 times\n \n 2. Launch VM with 1 virtio, note: we need add \"disable-modern=false\" to enable virtio 1.0::\n \n-    qemu-system-x86_64 -name vm0 -enable-kvm -cpu host -smp 2 -m 4096 \\\n-    -object memory-backend-file,id=mem,size=4096M,mem-path=/mnt/huge,share=on \\\n-    -numa node,memdev=mem -mem-prealloc -drive file=/home/osimg/ubuntu16.img  \\\n-    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f -net user,hostfwd=tcp:127.0.0.1:6000-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n+    qemu-system-x86_64 -name vm0 -enable-kvm -daemonize \\\n+    -drive file=/home/image/ubuntu2004.img -pidfile /tmp/.vm0.pid \\\n+    -cpu host -smp 8 -m 8192 -numa node,memdev=mem -mem-prealloc \\\n+    -object memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on \\\n+    -device e1000,netdev=nttsip1 \\\n+    -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \\\n+    -chardev socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 \\\n+    -device virtio-serial \\\n+    -device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 \\\n+    -chardev socket,id=char0,path=/root/dpdk/vhost-net \\\n     -netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce \\\n     -device virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,rx_queue_size=1024,tx_queue_size=1024 \\\n-    -vnc :10\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 3. On VM, bind virtio net to vfio-pci and run testpmd::\n \n",
    "prefixes": [
        "V1"
    ]
}