get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127813,
    "url": "http://patches.dpdk.org/api/patches/127813/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20230601103313.1830677-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": "<20230601103313.1830677-1-dukaix.yuan@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20230601103313.1830677-1-dukaix.yuan@intel.com",
    "date": "2023-06-01T10:33:13",
    "name": "[V1] test_plans/pvp_diff_qemu_version: optimize qemu start-up parameters",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d68c5c0d680f8b2fa837a3afbaf629fa6e8573a4",
    "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/20230601103313.1830677-1-dukaix.yuan@intel.com/mbox/",
    "series": [
        {
            "id": 28287,
            "url": "http://patches.dpdk.org/api/series/28287/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=28287",
            "date": "2023-06-01T10:33:13",
            "name": "[V1] test_plans/pvp_diff_qemu_version: optimize qemu start-up parameters",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/28287/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/127813/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/127813/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 176F242BFC;\n\tThu,  1 Jun 2023 04:55:51 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id E2A06406B3;\n\tThu,  1 Jun 2023 04:55:50 +0200 (CEST)",
            "from mga05.intel.com (mga05.intel.com [192.55.52.43])\n by mails.dpdk.org (Postfix) with ESMTP id 0658B406A2\n for <dts@dpdk.org>; Thu,  1 Jun 2023 04:55:48 +0200 (CEST)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 May 2023 19:55:47 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.252.44])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 May 2023 19:55:45 -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=1685588149; x=1717124149;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=32KZP1nBqUJw3GzE56E0nIBCLo8Zu0phWVEgnBIsqVQ=;\n b=WvC0/76q2BURH7wXd8t9jQ+vC+KBNSbN17rhrYHv9LyFiOfkIi075wYZ\n Tv1hv/twGlU/tfSwC1RUsQ/CF5sZkgNrhpZuRLc3mdyWquw1q0B52lIXp\n OpqwVVuAgygTQ8+g7qNd53EoKTTU/rcJ1hor/hE/Z/9AmueRSXR8QZasU\n /VibMhod+uh1jFFDyx3oGXVWjT9731tqyv0nXfyl9IZ71mv/K11x3Fbzw\n p/dSuQMpCP7EughfnL0f7cmhtiveRL8AUDg9/6pAHnSeDk92Y48RWToMF\n LCWPfC5BEaAfS022dnsZ5IyLQXSlE1zEBFvrpiFrqxvBxkJnYj+AJaDcs g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10727\"; a=\"441791599\"",
            "E=Sophos;i=\"6.00,207,1681196400\"; d=\"scan'208\";a=\"441791599\"",
            "E=McAfee;i=\"6600,9927,10727\"; a=\"881443889\"",
            "E=Sophos;i=\"6.00,207,1681196400\"; d=\"scan'208\";a=\"881443889\""
        ],
        "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_diff_qemu_version: optimize qemu\n start-up parameters",
        "Date": "Thu,  1 Jun 2023 10:33:13 +0000",
        "Message-Id": "<20230601103313.1830677-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 .../pvp_diff_qemu_version_test_plan.rst       | 78 ++++++++++---------\n 1 file changed, 42 insertions(+), 36 deletions(-)",
    "diff": "diff --git a/test_plans/pvp_diff_qemu_version_test_plan.rst b/test_plans/pvp_diff_qemu_version_test_plan.rst\nindex f29dbf4b..fdbdff3a 100644\n--- a/test_plans/pvp_diff_qemu_version_test_plan.rst\n+++ b/test_plans/pvp_diff_qemu_version_test_plan.rst\n@@ -27,21 +27,23 @@ Test Case 1: PVP multi qemu version test with virtio 0.95 mergeable path\n     testpmd>set fwd mac\n     testpmd>start\n \n-2. Check dut machine already has installed different version qemu, includes [qemu-5.2.0, qemu-6.2.0, qemu-7.0.0, qemu-7.1.0, qemu-7.2.0].\n+2. Check dut machine already has installed different version qemu, includes [qemu-4.2.0, qemu-5.2.0, qemu-6.2.0, qemu-7.2.0, qemu-8.x].\n \n 3. Go to the absolute_path of different version qemu,then launch VM with different version qemu, note: we need add \"disable-modern=true\" to enable virtio 0.95::\n \n-    qemu-system-x86_64 -name vm2 -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/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f \\\n-    -netdev user,id=netdev0,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n-    -netdev type=vhost-user,id=netdev1,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev1,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=on \\\n-    -vnc :10\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 \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. On VM, bind virtio net to vfio-pci and run testpmd ::\n \n@@ -66,21 +68,23 @@ Test Case 2: PVP test with virtio 1.0 mergeable path\n     testpmd>set fwd mac\n     testpmd>start\n \n-2. Check dut machine already has installed different version qemu, includes [qemu-5.2.0, qemu-6.2.0, qemu-7.0.0, qemu-7.1.0, qemu-7.2.0].\n+2. Check dut machine already has installed different version qemu, includes [qemu-4.2.0, qemu-5.2.0, qemu-6.2.0, qemu-7.2.0, qemu-8.x].\n \n 3. Go to the absolute_path of different version qemu,then launch VM with different version qemu, note: we need add \"disable-modern=false\" to enable virtio 1.0::\n \n-    qemu-system-x86_64 -name vm2 -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/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f \\\n-    -netdev user,id=netdev0,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n-    -netdev type=vhost-user,id=netdev1,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev1,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on \\\n-    -vnc :10\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 \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. On VM, bind virtio net to vfio-pci and run testpmd::\n \n@@ -105,21 +109,23 @@ Test Case 3: PVP test with virtio 1.1 mergeable path\n     testpmd>set fwd mac\n     testpmd>start\n \n-2. Check dut machine already has installed different version qemu, includes [qemu-5.2.0, qemu-6.2.0, qemu-7.0.0, qemu-7.1.0, qemu-7.2.0].\n+2. Check dut machine already has installed different version qemu, includes [qemu-4.2.0, qemu-5.2.0, qemu-6.2.0, qemu-7.2.0, qemu-8.x].\n \n 3. Go to the absolute_path of different version qemu,then launch VM with different version qemu, note: we need add \"disable-modern=false,packed=on\" to enable virtio 1.1::\n \n-    qemu-system-x86_64 -name vm2 -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/vm2_qga0.sock,server,nowait,id=vm2_qga0 -device virtio-serial \\\n-    -device virtserialport,chardev=vm2_qga0,name=org.qemu.guest_agent.2 -daemonize \\\n-    -monitor unix:/tmp/vm2_monitor.sock,server,nowait -net nic,macaddr=00:00:00:08:e8:aa,addr=1f \\\n-    -netdev user,id=netdev0,hostfwd=tcp:127.0.0.1:6002-:22 \\\n-    -chardev socket,id=char0,path=./vhost-net \\\n-    -netdev type=vhost-user,id=netdev1,chardev=char0,vhostforce \\\n-    -device virtio-net-pci,netdev=netdev1,mac=52:54:00:00:00:01,disable-modern=false,mrg_rxbuf=on,packed=on \\\n-    -vnc :10\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 \\\n+    -monitor unix:/tmp/vm0_monitor.sock,server,nowait -vnc :4\n \n 4. On VM, bind virtio net to vfio-pci and run testpmd::\n \n",
    "prefixes": [
        "V1"
    ]
}