get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 110472,
    "url": "http://patches.dpdk.org/api/patches/110472/?format=api",
    "web_url": "http://patches.dpdk.org/project/dts/patch/20220429135913.1862-1-songx.jiale@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": "<20220429135913.1862-1-songx.jiale@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20220429135913.1862-1-songx.jiale@intel.com",
    "date": "2022-04-29T13:59:13",
    "name": "[V1] tests/vm_power_manager: fix script",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "e83287d7aaf9112f26db2e053d14edffe0dc83bf",
    "submitter": {
        "id": 2352,
        "url": "http://patches.dpdk.org/api/people/2352/?format=api",
        "name": "Jiale, SongX",
        "email": "songx.jiale@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dts/patch/20220429135913.1862-1-songx.jiale@intel.com/mbox/",
    "series": [
        {
            "id": 22722,
            "url": "http://patches.dpdk.org/api/series/22722/?format=api",
            "web_url": "http://patches.dpdk.org/project/dts/list/?series=22722",
            "date": "2022-04-29T13:59:13",
            "name": "[V1] tests/vm_power_manager: fix script",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/22722/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/110472/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/110472/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 44952A0093;\n\tFri, 29 Apr 2022 07:34:55 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3614C410E3;\n\tFri, 29 Apr 2022 07:34:55 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id 06FC640E50\n for <dts@dpdk.org>; Fri, 29 Apr 2022 07:34:53 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2022 22:34:49 -0700",
            "from unknown (HELO localhost.localdomain) ([10.239.251.94])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2022 22:34:48 -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=1651210494; x=1682746494;\n h=from:to:cc:subject:date:message-id;\n bh=kE02lfCoEABT1RPf/hxoiR+b126b7EdVaY9xF/Gapuw=;\n b=T5WnM5+6fdh1jRWXuMv/vOog9zX1WvjDpEUEU2XEkoi7JGbb5YRc7no0\n JzraVpdrDJAjPj54N8g+0BYmliik5C0unPpb6d2QLNCbnPWKTIS6W9nbN\n CK3T0U92clQ3/EjdLuK3cEOh8GbrNAp+aJ5WcsNaOlLztqyJz8eL9XCnJ\n xEBpIPTT8PqKDFo8zwb9M2lKaP3B8n4rSaA5FECEQ7BC7x77TElMJG3BA\n 9BhBqWmMjF2oB3EXL/Im/Lu0tI55YQTcgnPh8ItMDtVv7cPbLeiBuL2N8\n 8FXk7rKWGtyML5EE44tQIbHmh10peR/aefzFzYjbx96ZIPc9xJpfUOkZe Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10331\"; a=\"265386788\"",
            "E=Sophos;i=\"5.91,297,1647327600\"; d=\"scan'208\";a=\"265386788\"",
            "E=Sophos;i=\"5.91,297,1647327600\"; d=\"scan'208\";a=\"581894502\""
        ],
        "From": "Jiale Song <songx.jiale@intel.com>",
        "To": "dts@dpdk.org",
        "Cc": "Jiale Song <songx.jiale@intel.com>",
        "Subject": "[dts] [PATCH V1] tests/vm_power_manager: fix script",
        "Date": "Fri, 29 Apr 2022 13:59:13 +0000",
        "Message-Id": "<20220429135913.1862-1-songx.jiale@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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": "restart libvirtd service before instantiating libvirtkvm. otherwise, \nthe instantiation of libvirtkvm will fail, resulting in suite block.\n\nSigned-off-by: Jiale Song <songx.jiale@intel.com>\n---\n tests/TestSuite_vm_power_manager.py | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py\nindex 917a60f3..cc535436 100644\n--- a/tests/TestSuite_vm_power_manager.py\n+++ b/tests/TestSuite_vm_power_manager.py\n@@ -60,6 +60,8 @@ class TestVmPowerManager(TestCase):\n \n         # map between host vcpu and guest vcpu\n         self.vcpu_map = []\n+        # restart libvirtd service\n+        self.dut.send_expect(\"service libvirtd restart\", \"# \")\n         # start vm\n         self.vm_name = \"vm0\"\n         self.vm = LibvirtKvm(self.dut, self.vm_name, self.suite_name)\n",
    "prefixes": [
        "V1"
    ]
}