get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817596,
    "url": "http://patchwork.ozlabs.org/api/patches/817596/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-8-f4bug@amsat.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170922154014.29350-8-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-22T15:39:47",
    "name": "[07/34] i386/hax: remove duplicated includes",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cc7eb91003543624445f403e38dcf7d82a58a49a",
    "submitter": {
        "id": 70924,
        "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "f4bug@amsat.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-8-f4bug@amsat.org/mbox/",
    "series": [
        {
            "id": 4657,
            "url": "http://patchwork.ozlabs.org/api/series/4657/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=4657",
            "date": "2017-09-22T15:39:40",
            "name": "remove i386/pc dependency from non-PC world (part 1)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/4657/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/817596/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817596/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"Oe/TMG3s\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xzHsv6NFtz9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:47:15 +1000 (AEST)",
            "from localhost ([::1]:59603 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dvQAc-0001T5-09\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:47:14 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:41336)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4b-0004Xq-2z\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:02 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4X-00039E-Vd\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:01 -0400",
            "from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:34159)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4X-000394-R8; Fri, 22 Sep 2017 11:40:57 -0400",
            "by mail-qt0-x244.google.com with SMTP id q8so891231qtb.1;\n\tFri, 22 Sep 2017 08:40:57 -0700 (PDT)",
            "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.40.53\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:40:56 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=/GsZPzAQSV9WLZFoszDzAxGfHJtoqzJiRa5WqWPVRFA=;\n\tb=Oe/TMG3selt2lv/HFMHUGO6kniSgT3G1MPptuYjH5J8cZp6Fpn4xrHlfbyELgfc/21\n\thqjfuK74mZTfMNpkn6+T1gEiPvM9o/QZA20qOOTWxPdw8q3wCCeutHhAmoW0IpjKiS19\n\t3s5qKcTP7GJUiLYzhiTPH+dNa9d9/B03gds0/hQZH7dUkSsFjgAnhmPt2dXVY3fssZlF\n\tS/oogZcTL2OGzVujfqWcKojcgonsWW6khvAvllHplxA4ojm2kF4AS7BI4+K8SiFtArQ6\n\tjq8ARAcIP9rQ6uJum4c0WgPTYRxj6OSEYr9ilkfbj1Ztk+Cwd0qmIKPSmi6+QOr2vUx5\n\t5Y9g==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=/GsZPzAQSV9WLZFoszDzAxGfHJtoqzJiRa5WqWPVRFA=;\n\tb=hP85xI1Nkrqa2x/gZDaDX63zmJPZUUcP+VhDhJbTv9xWs8VefykXtnNjnYOYWyUrjJ\n\tDIOwYPPXAfY0687tRf8Alyu9nEHP3RaR0v+0zLhpCQe+wmF5fLq9ON3koyDgYgbBmqxY\n\tZyBI2R75Rhi3t9VMsNiV8bByuXQ4i5a/3kqR7IX0x0PVDI8Ay+ECnnUlRWuCRwI1TX8o\n\tOarkCbMwRHiXNSf1AVZxWk13hzx2qEOGHSiyKH2iFkQXp5fMOQlS5NrdtzUx4+5WbmAj\n\ttrywnhEW8rCz0EJAdov8fikoNaka7XAt+kiNbWR5lekv6u/7zFK/38lhyWk4jfZOex0i\n\tkyJg==",
        "X-Gm-Message-State": "AHPjjUhZZ/7v4RH6XjZiDcWHnKoFTl2DNfVUUlEXgjs50WD8aO50hXk8\n\tFzjjVQ/EDOCrzpbQVf2PKcI=",
        "X-Google-Smtp-Source": "AOwi7QD0em1woJtyilNEr/YinN6h/sUXrHPi7Ho+3R6ouhdv3aFMHzykQkzROMjADEA7dOr/o30Izg==",
        "X-Received": "by 10.200.27.235 with SMTP id m40mr9096505qtk.228.1506094857224; \n\tFri, 22 Sep 2017 08:40:57 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>",
        "To": "Peter Maydell <peter.maydell@linaro.org>, Thomas Huth <thuth@redhat.com>,\n\tPaolo Bonzini <pbonzini@redhat.com>,\n\tRichard Henderson <rth@twiddle.net>, \n\tEduardo Habkost <ehabkost@redhat.com>,\n\tYu Ning <yu.ning@linux.intel.com>, \n\tVincent Palatin <vpalatin@chromium.org>",
        "Date": "Fri, 22 Sep 2017 12:39:47 -0300",
        "Message-Id": "<20170922154014.29350-8-f4bug@amsat.org>",
        "X-Mailer": "git-send-email 2.14.1",
        "In-Reply-To": "<20170922154014.29350-1-f4bug@amsat.org>",
        "References": "<20170922154014.29350-1-f4bug@amsat.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.",
        "X-Received-From": "2607:f8b0:400d:c0d::244",
        "Subject": "[Qemu-devel] [PATCH 07/34] i386/hax: remove duplicated includes",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?=\n\t<f4bug@amsat.org>, \tqemu-devel@nongnu.org",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "applied using ./scripts/clean-includes\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n include/sysemu/hax.h      | 1 -\n target/i386/hax-darwin.h  | 3 ---\n target/i386/hax-windows.h | 2 --\n target/i386/hax-darwin.c  | 8 ++------\n 4 files changed, 2 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/include/sysemu/hax.h b/include/sysemu/hax.h\nindex 232a68ab1b..f252399623 100644\n--- a/include/sysemu/hax.h\n+++ b/include/sysemu/hax.h\n@@ -22,7 +22,6 @@\n #ifndef QEMU_HAX_H\n #define QEMU_HAX_H\n \n-#include \"config-host.h\"\n #include \"qemu-common.h\"\n \n int hax_sync_vcpus(void);\ndiff --git a/target/i386/hax-darwin.h b/target/i386/hax-darwin.h\nindex 0c0968b77d..fb8e25a096 100644\n--- a/target/i386/hax-darwin.h\n+++ b/target/i386/hax-darwin.h\n@@ -15,10 +15,7 @@\n #ifndef TARGET_I386_HAX_DARWIN_H\n #define TARGET_I386_HAX_DARWIN_H\n \n-#include <sys/types.h>\n #include <sys/ioctl.h>\n-#include <sys/mman.h>\n-#include <stdarg.h>\n \n #define HAX_INVALID_FD  (-1)\n static inline int hax_invalid_fd(hax_fd fd)\ndiff --git a/target/i386/hax-windows.h b/target/i386/hax-windows.h\nindex 1d8f68de91..f7c3e99246 100644\n--- a/target/i386/hax-windows.h\n+++ b/target/i386/hax-windows.h\n@@ -24,8 +24,6 @@\n #include <memory.h>\n #include <malloc.h>\n #include <winioctl.h>\n-#include <string.h>\n-#include <stdio.h>\n #include <windef.h>\n \n #define HAX_INVALID_FD INVALID_HANDLE_VALUE\ndiff --git a/target/i386/hax-darwin.c b/target/i386/hax-darwin.c\nindex 1c5bbd0a2d..ee9417454c 100644\n--- a/target/i386/hax-darwin.c\n+++ b/target/i386/hax-darwin.c\n@@ -11,13 +11,9 @@\n  */\n \n /* HAX module interface - darwin version */\n-#include <sys/types.h>\n-#include <sys/stat.h>\n-#include <fcntl.h>\n-#include <errno.h>\n-#include <sys/ioctl.h>\n-\n #include \"qemu/osdep.h\"\n+#include <sys/ioctl.h>\n+\n #include \"target/i386/hax-i386.h\"\n \n hax_fd hax_mod_open(void)\n",
    "prefixes": [
        "07/34"
    ]
}