get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 63041,
    "url": "https://patches.dpdk.org/api/patches/63041/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20191115125124.6941-1-david.hunt@intel.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20191115125124.6941-1-david.hunt@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191115125124.6941-1-david.hunt@intel.com",
    "date": "2019-11-15T12:51:24",
    "name": "[v1] doc/power: add commands for core query from VM",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "62e0cd88c117ecad72c72a266c394a82e9f1e689",
    "submitter": {
        "id": 342,
        "url": "https://patches.dpdk.org/api/people/342/?format=api",
        "name": "Hunt, David",
        "email": "david.hunt@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20191115125124.6941-1-david.hunt@intel.com/mbox/",
    "series": [
        {
            "id": 7475,
            "url": "https://patches.dpdk.org/api/series/7475/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=7475",
            "date": "2019-11-15T12:51:24",
            "name": "[v1] doc/power: add commands for core query from VM",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/7475/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/63041/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/63041/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id A3B16A04C2;\n\tFri, 15 Nov 2019 13:51:55 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 748E02C12;\n\tFri, 15 Nov 2019 13:51:55 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 333BE2C12\n for <dev@dpdk.org>; Fri, 15 Nov 2019 13:51:53 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 15 Nov 2019 04:51:52 -0800",
            "from silpixa00399952.ir.intel.com (HELO\n silpixa00399952.ger.corp.intel.com) ([10.237.222.38])\n by fmsmga005.fm.intel.com with ESMTP; 15 Nov 2019 04:51:50 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.68,308,1569308400\"; d=\"scan'208\";a=\"405327005\"",
        "From": "David Hunt <david.hunt@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "john.mcnamara@intel.com,\n\tDavid Hunt <david.hunt@intel.com>",
        "Date": "Fri, 15 Nov 2019 12:51:24 +0000",
        "Message-Id": "<20191115125124.6941-1-david.hunt@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH v1] doc/power: add commands for core query from VM",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "This patch adds some minor updates for the vm_power_manager and guest_cli\nexample applications.\n\nNow that the virtio-serial channels between vm_power manager and\nthe guest_cli has bi-directional capability, there are some new commands.\n\nFirstly, the command in vm_power_manager to enable queries for a given VM:\n\n  * set_query {vm_name} enable|disable\n\nThen, commands to query the frequencies and capabilities of the cores\nin the VM:\n\n  * query_cpu_freq {core_num}|all\n  * query_cpu_caps {core_num}|all\n\nSigned-off-by: David Hunt <david.hunt@intel.com>\n---\n .../sample_app_ug/vm_power_management.rst     | 23 +++++++++++++++++++\n 1 file changed, 23 insertions(+)",
    "diff": "diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst\nindex 0ffff835e..f5e24b25d 100644\n--- a/doc/guides/sample_app_ug/vm_power_management.rst\n+++ b/doc/guides/sample_app_ug/vm_power_management.rst\n@@ -309,6 +309,12 @@ A number of commands can be issued via the CLI in relation to VMs:\n \n     set_pcpu {vm_name} {vcpu} {pcpu}\n \n+  Enable query of physical core information from a VM:\n+\n+  .. code-block:: console\n+\n+    set_query {vm_name} enable|disable\n+\n Manual control and inspection can also be carried in relation CPU frequency scaling:\n \n   Get the current frequency for each core specified in the mask:\n@@ -746,6 +752,23 @@ Where {core_num} is the lcore and channel to change frequency by scaling up/down\n \n   set_cpu_freq {core_num} up|down|min|max\n \n+\n+To query the available frequences of an lcore, use the query_cpu_freq command.\n+Where {core_num} is the lcore to query.\n+Before using this command, please enable responses via the set_query command on the host.\n+\n+.. code-block:: console\n+\n+  query_cpu_freq {core_num}|all\n+\n+To query the capabilities of an lcore, use the query_cpu_caps command.\n+Where {core_num} is the lcore to query.\n+Before using this command, please enable responses via the set_query command on the host.\n+\n+.. code-block:: console\n+\n+  query_cpu_caps {core_num}|all\n+\n To start the application and configure the power policy, and send it to the host:\n \n .. code-block:: console\n",
    "prefixes": [
        "v1"
    ]
}