get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 12011,
    "url": "https://patches.dpdk.org/api/patches/12011/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1460371412-711-1-git-send-email-thomas.monjalon@6wind.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": "<1460371412-711-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1460371412-711-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-04-11T10:43:32",
    "name": "[dpdk-dev,v5] examples/vm_power_manager: fix libvirt dependency check",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "4d39500a5e7407c7b4ad47d2cee7d8b88129b6a0",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1460371412-711-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/12011/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/12011/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 5B0A54A63;\n\tMon, 11 Apr 2016 12:43:37 +0200 (CEST)",
            "from mail-wm0-f52.google.com (mail-wm0-f52.google.com\n\t[74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 46F6F47D2\n\tfor <dev@dpdk.org>; Mon, 11 Apr 2016 12:43:36 +0200 (CEST)",
            "by mail-wm0-f52.google.com with SMTP id a140so7153197wma.0\n\tfor <dev@dpdk.org>; Mon, 11 Apr 2016 03:43:36 -0700 (PDT)",
            "from XPS13.localdomain (245.111.75.86.rev.sfr.net. [86.75.111.245])\n\tby smtp.gmail.com with ESMTPSA id\n\ti206sm16638508wmf.1.2016.04.11.03.43.35\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 11 Apr 2016 03:43:35 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=KN4DFw5/KpSSsl81UcfyMvJq9KGUmeA9zS0DCzi+OF4=;\n\tb=vZNpuNBJ9VIcIb66UnAMjTJAbiIWYS9ZKn25UEqJpLHZ9Cdt1SzZtN1++oZtLcG9Xx\n\tOaaf0/v3QL9O3YuZqkfY70eikUOcu5y6IZg/IEGH6NwUHF9CNZYBzmEuz8a3YP8TPGka\n\tAttrXvAc4ODsB/l+d3K1VYahnQyWeECuMOuiQmCEatOwhOPPpgMt+GLUSO9nqkTMMSyv\n\t45pehlYrxwWhd/5SaavKeg/w4YXGsht++9g2a3oixKAnB/Qk/KlrW1RdxnS5G4bPWNjb\n\tBWI1D+zGh3dH9UZF+YpTjKkwHSe9tumdgv1ZMpeiGECJI6PhgdQPFLmoq3gdUFzaRooZ\n\ttmIA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=KN4DFw5/KpSSsl81UcfyMvJq9KGUmeA9zS0DCzi+OF4=;\n\tb=GXkHbJlxA/VE5OloFgYEbN3MD/B6xYyu3NLUPgb7StmawYdduTNPFRA8xTDR3b0IW5\n\tGn04CVu3Qsnbal4+yhZ6QnzJNerjvRtAHccPCQUyVjmh87ZzZLrlhR5YPRhXZjTDYQeX\n\tzYRLXr3rMGo2avqP7gQdJJzwPacOxEFbdpy0OFqhUr7b0pZLOMjMMaOhmL3jdmiq/ZvL\n\tQ44EHw22xTJpgZwsOEg4+pE0KoWp6joRVNkSs6td46iDnhdYVR+O3tYGMpan375NoOp5\n\tyIJCMd6ZjMpAEYH1RG4lCPDy0kJps7ilcudrMIuQRq/PoAPkiriK0xYcd9eAGtTcdUH2\n\tHBZQ==",
        "X-Gm-Message-State": "AD7BkJI4/WqRSLlM5Ts8qEB1H6XFuC5LwTY29USpmFWXHYsRIy74fLzPUXqZeIx0RZa18Q56",
        "X-Received": "by 10.28.27.87 with SMTP id b84mr18114495wmb.7.1460371416082;\n\tMon, 11 Apr 2016 03:43:36 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Cc": "Marvin Liu <yong.liu@intel.com>",
        "Date": "Mon, 11 Apr 2016 12:43:32 +0200",
        "Message-Id": "<1460371412-711-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "In-Reply-To": "<1460370772-17663-1-git-send-email-thomas.monjalon@6wind.com>",
        "References": "<1460370772-17663-1-git-send-email-thomas.monjalon@6wind.com>",
        "Subject": "[dpdk-dev] [PATCH v5] examples/vm_power_manager: fix libvirt\n\tdependency check",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Marvin Liu <yong.liu@intel.com>\n\nvm_power_manager utilize libvirt API virDomainGetVcpuPinInfo to\nretrieve domU vcpu information. This API is implemented from version 0.9.3.\nSuse11 SP3 32bit default libvirt version is 0.8.8.\n\nexamples/vm_power_manager/channel_manager.c:\nchannel_manager.c:117:3: error: implicit declaration of function\n'virDomainGetVcpuPinInfo'\n\nCheck and skip it from examples or raise an error when trying to compile\nwithout libvirt or with a too old libvirt.\n\nFixes: e8ae9b662 (\"examples/vm_power: channel manager and monitor in host\")\n\nSigned-off-by: Marvin Liu <yong.liu@intel.com>\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\nAcked-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/Makefile                  | 8 +++++++-\n examples/vm_power_manager/Makefile | 6 ++++++\n 2 files changed, 13 insertions(+), 1 deletion(-)\n\nv5: do not warn if CONFIG_RTE_LIBRTE_POWER is disabled\n\nv4: mix v2 and v3 to skip in examples list but raise an error if trying\n    to compile directly",
    "diff": "diff --git a/examples/Makefile b/examples/Makefile\nindex a8bc381..b28b30e 100644\n--- a/examples/Makefile\n+++ b/examples/Makefile\n@@ -87,6 +87,12 @@ DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost\n DIRS-$(CONFIG_RTE_LIBRTE_XEN_DOM0) += vhost_xen\n DIRS-y += vmdq\n DIRS-y += vmdq_dcb\n-DIRS-$(CONFIG_RTE_LIBRTE_POWER) += vm_power_manager\n+ifeq ($(CONFIG_RTE_LIBRTE_POWER), y)\n+ifeq ($(shell pkg-config --atleast-version=0.9.3 libvirt; echo $$?), 0)\n+DIRS-y += vm_power_manager\n+else\n+$(info vm_power_manager requires libvirt >= 0.9.3)\n+endif\n+endif\n \n include $(RTE_SDK)/mk/rte.extsubdir.mk\ndiff --git a/examples/vm_power_manager/Makefile b/examples/vm_power_manager/Makefile\nindex 113dbc4..59a9641 100644\n--- a/examples/vm_power_manager/Makefile\n+++ b/examples/vm_power_manager/Makefile\n@@ -29,6 +29,10 @@\n #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n \n+ifneq ($(shell pkg-config --atleast-version=0.9.3 libvirt; echo $$?), 0)\n+$(error vm_power_manager requires libvirt >= 0.9.3)\n+else\n+\n ifeq ($(RTE_SDK),)\n $(error \"Please define RTE_SDK environment variable\")\n endif\n@@ -57,3 +61,5 @@ CFLAGS_main.o += -Wno-return-type\n endif\n \n include $(RTE_SDK)/mk/rte.extapp.mk\n+\n+endif # libvirt check\n",
    "prefixes": [
        "dpdk-dev",
        "v5"
    ]
}