get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 856685,
    "url": "http://patchwork.ozlabs.org/api/patches/856685/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20180108024558.17983-30-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": "<20180108024558.17983-30-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2018-01-08T02:45:58",
    "name": "[NOTFORMERGE,29/29] piix4: add isa_superio_init",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "83fe26a8fa85260b4e527033ebfacc2bf5fca2b6",
    "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/20180108024558.17983-30-f4bug@amsat.org/mbox/",
    "series": [
        {
            "id": 21847,
            "url": "http://patchwork.ozlabs.org/api/series/21847/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=21847",
            "date": "2018-01-08T02:45:30",
            "name": "remove i386/pc dependency: generic SuperIO, PIIX cleanup",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/21847/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/856685/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/856685/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=\"aJyOYTUQ\"; 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 3zFKrS4T82z9s71\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon,  8 Jan 2018 14:04:56 +1100 (AEDT)",
            "from localhost ([::1]:59571 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 1eYNk6-0005QS-Gm\n\tfor incoming@patchwork.ozlabs.org; Sun, 07 Jan 2018 22:04:54 -0500",
            "from eggs.gnu.org ([2001:4830:134:3::10]:51885)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNTc-0007rn-Cs\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:47:53 -0500",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1eYNTZ-0003Qx-BH\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:47:52 -0500",
            "from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]:41417)\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 1eYNTZ-0003Ql-6P\n\tfor qemu-devel@nongnu.org; Sun, 07 Jan 2018 21:47:49 -0500",
            "by mail-qk0-x22a.google.com with SMTP id a8so12538367qkb.8\n\tfor <qemu-devel@nongnu.org>; Sun, 07 Jan 2018 18:47:49 -0800 (PST)",
            "from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id\n\td10sm7156245qkg.16.2018.01.07.18.47.46\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSun, 07 Jan 2018 18:47:48 -0800 (PST)"
        ],
        "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=VGLFtyVueHLBaU+KVn//MM864H1kdPWzINwkth7MDLY=;\n\tb=aJyOYTUQ1ecoIFIZoNuCIM2UPWBHrzE5gVL5c1oqPk3mLrN3NgVehSIcymDpzFOP2M\n\tTd3hNcWtkS+7ABMrGpBVtu1GQjQh3xmi9aH2brdgvWNucTBg/BcOwl4ohmMRt0vu3jfm\n\tDzcCYqwXRdW3PrGpxitmYc55W8c54xKXUgzuOpQzRem/VYmwi1Z20bm+PLR465FYt41t\n\toYnsi07ifmkoMWKH3VapNje+G9cmCcleGPsd6BvJN6RUISdSxrg7qZ4XnTHWdJ0qFEd6\n\ttgWu5K3J8fR7jBF5oEp38LOqd6sfaFILTcBeErBhrJNGMAK2w64zN39RK0r8faoGmdX3\n\tarUw==",
        "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=VGLFtyVueHLBaU+KVn//MM864H1kdPWzINwkth7MDLY=;\n\tb=thc3ZzqtYpV5NXddnOCSD3u+RihVyf3GaPg3bBsrpTQbQxZRTrfp/zT1johyEedvSq\n\tCwxWJ+yH5yhN9IamYvXY29F7FrOM8Akbq8unS1nexxCIqEU4t10zm6pGaYNYamhyo8TI\n\tvt2q90kfRtQm4QUzi5+cv8zbM794CvJ0RnVeNgxz6yRxBRW67ICB/ZKFaFN/ulm1Tv0j\n\tGuxXQUqqMa2uiURMiFiCZVFx4Ad4Y7nG9B9OZfzHdkzPXGQuUP6mxgyQDMpUDu9vlp84\n\tUwBvJsxZYFBmOd/paEie0F5xjF8Xj5dJIaQPPa5N76Pxf6zDkLGfGqM+vkSCO0c1lvrC\n\txMKg==",
        "X-Gm-Message-State": "AKwxytcRjjzBuM9G9CC6M/OEgwdZT/iHWHe+aI+rkCs1+14iiEbrthws\n\tcqfH46Etd6Pu01eDk0mKfik=",
        "X-Google-Smtp-Source": "ACJfBotIvGRNeEXYWYyzq/8GwXEnLqhGgHZw1ljz6GXB1or+Ol4+vtyYzd5VsAW0VfLDkQreTmrkiw==",
        "X-Received": "by 10.55.96.199 with SMTP id u190mr14445064qkb.28.1515379668652; \n\tSun, 07 Jan 2018 18:47:48 -0800 (PST)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>",
        "To": "=?utf-8?q?Herv=C3=A9_Poussineau?= <hpoussin@reactos.org>",
        "Date": "Sun,  7 Jan 2018 23:45:58 -0300",
        "Message-Id": "<20180108024558.17983-30-f4bug@amsat.org>",
        "X-Mailer": "git-send-email 2.15.1",
        "In-Reply-To": "<20180108024558.17983-1-f4bug@amsat.org>",
        "References": "<20180108024558.17983-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:c09::22a",
        "Subject": "[Qemu-devel] [NOTFORMERGE PATCH 29/29] piix4: add isa_superio_init",
        "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": "Paolo Bonzini <pbonzini@redhat.com>,\n\t\"Michael S. Tsirkin\" <mst@redhat.com>, =?utf-8?q?Philippe_Mathieu-Dau?=\n\t=?utf-8?b?ZMOp?= <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": "For Hervé to test his VirtualPC2007.\n\n hw/southbridge/piix.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/hw/southbridge/piix.c b/hw/southbridge/piix.c\nindex 53ee177866..b800d538da 100644\n--- a/hw/southbridge/piix.c\n+++ b/hw/southbridge/piix.c\n@@ -32,6 +32,7 @@\n #include \"hw/dma/i8257.h\"\n #include \"hw/audio/pcspk.h\"\n #include \"hw/timer/i8254.h\"\n+#include \"hw/isa/superio.h\"\n #include \"hw/xen/xen.h\"\n \n #define PIIX_NUM_PIC_IRQS       16      /* i8259 * 2 */\n@@ -538,6 +539,8 @@ static void piix4_realize(PCIDevice *pci_dev, Error **errp)\n     /* DMA */\n     i8257_dma_init(s->isa_bus, 0);\n \n+    isa_superio_init(s->isa_bus, 2, 1, 1);\n+\n     piix4_dev = pci_dev;\n }\n \n",
    "prefixes": [
        "NOTFORMERGE",
        "29/29"
    ]
}