get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817611,
    "url": "http://patchwork.ozlabs.org/api/patches/817611/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-14-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-14-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-22T15:39:53",
    "name": "[13/34] hw/ide: remove old i386 dependency",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "8a4d244c21c5803b49c8db9bf02cd75a7fc760c2",
    "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-14-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/817611/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817611/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=\"GBaNG4K6\"; 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 3xzJ4j1353z9s83\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:56:37 +1000 (AEST)",
            "from localhost ([::1]:59658 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 1dvQJf-0000e2-6Y\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:56:35 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:41617)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4u-0004ta-FK\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:21 -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 1dvQ4r-0003Ky-CQ\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:20 -0400",
            "from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:38821)\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 1dvQ4r-0003Km-8B; Fri, 22 Sep 2017 11:41:17 -0400",
            "by mail-qk0-x244.google.com with SMTP id c69so868353qke.5;\n\tFri, 22 Sep 2017 08:41:17 -0700 (PDT)",
            "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.41.14\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:41:16 -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=Nw1FYjFFtZAvMs9ZZWwyyu0T0Qo3ZSBwXJMMRLTTeyg=;\n\tb=GBaNG4K6iACj2B5fZrtZg4br2RmNn4kVtEimT2IeATjjx/rxbqyFfdP5q77MKWdATI\n\t3lti+63XjrKizSTrEXX1fJsftUz6AHm3lJBCgmvFgAtlhdgTeZldAOIRqQf7pzIK09MY\n\tVeHKPiFtd9LKIVh5dkUNZloLAXwfpjNrycAE1fKvL+CeFN9cAs/Yx4a6X/k357d9stiT\n\tOCdMThg+O0mlP4yAfJhOk2K7C2iE/T7AxYeGLDva/JowAc9pEzH92RenRKLeMwfJx/0o\n\trHf+goafYmuJBsVu3/4HVIx6lCDXjj4PvBPPpMhquhODrFodTRlbEfDHze04TNab8SuU\n\tNajQ==",
        "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=Nw1FYjFFtZAvMs9ZZWwyyu0T0Qo3ZSBwXJMMRLTTeyg=;\n\tb=id5BHOerV8uFXvcVSJ0dblNilQTYMM1N/Deg3RW86PXGJ/51xAvJPkzN5vIinXkLLT\n\tTfgpG/BYuaSDDwBcLlneuUILP8dcJegmLMGRipW/jfOL2fp2QoAusHVT6vSQ6YEfGe2h\n\tqQjOhOH9lV2cX9pVSDoWRhXgblPvADMboEst2p0Ut2GNH368s6c6fkBTd9gxdmGyv6l0\n\tdScaZI4oY+ZhUY4Msj32akzGnkOmaFc3bmhDP909Kk53TrIxwOuU3ikeHQE60I3lZ+qu\n\ttv21dZ+p26pfyiBePB+5fIdLvvU2Apt78vobWMwYrXYDayqko42O4rtmRw7MbaR513Hc\n\ttAMQ==",
        "X-Gm-Message-State": "AHPjjUibbfC5PEUUKS2v8gageBwIkz4PdaGokdOgfd5QQycGk/QqIN7L\n\tYa7A8a9FRbtz2uMJU5Hj21Rq0fnI+dE=",
        "X-Google-Smtp-Source": "AOwi7QC81teapmza70n1MhSoKZgHErXeamlyvaHXVGjz0xSVo2ZslB6FCXfABqcEk8gAHwRN40ukhw==",
        "X-Received": "by 10.55.121.7 with SMTP id u7mr8421229qkc.130.1506094876653;\n\tFri, 22 Sep 2017 08:41:16 -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>, John Snow <jsnow@redhat.com>",
        "Date": "Fri, 22 Sep 2017 12:39:53 -0300",
        "Message-Id": "<20170922154014.29350-14-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:c09::244",
        "Subject": "[Qemu-devel] [PATCH 13/34] hw/ide: remove old i386 dependency",
        "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-block@nongnu.org, qemu-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": "and remove a duplicated include\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n hw/ide/ahci.c       | 1 -\n hw/ide/cmd646.c     | 1 -\n hw/ide/core.c       | 3 +--\n hw/ide/ich.c        | 1 -\n hw/ide/isa.c        | 1 -\n hw/ide/microdrive.c | 1 -\n hw/ide/pci.c        | 1 -\n hw/ide/piix.c       | 2 +-\n hw/ide/via.c        | 1 -\n 9 files changed, 2 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c\nindex 32d1296a64..2634f8db3d 100644\n--- a/hw/ide/ahci.c\n+++ b/hw/ide/ahci.c\n@@ -24,7 +24,6 @@\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n #include \"hw/pci/msi.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n \n #include \"qemu/error-report.h\"\ndiff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c\nindex 86b2a8f504..65aff518ec 100644\n--- a/hw/ide/cmd646.c\n+++ b/hw/ide/cmd646.c\n@@ -24,7 +24,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\ndiff --git a/hw/ide/core.c b/hw/ide/core.c\nindex d63eb4a72e..6438efa8f4 100644\n--- a/hw/ide/core.c\n+++ b/hw/ide/core.c\n@@ -24,17 +24,16 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"qemu/error-report.h\"\n #include \"qemu/timer.h\"\n #include \"sysemu/sysemu.h\"\n+#include \"sysemu/blockdev.h\"\n #include \"sysemu/dma.h\"\n #include \"hw/block/block.h\"\n #include \"sysemu/block-backend.h\"\n #include \"qemu/cutils.h\"\n-#include \"qemu/error-report.h\"\n \n #include \"hw/ide/internal.h\"\n #include \"trace.h\"\ndiff --git a/hw/ide/ich.c b/hw/ide/ich.c\nindex 9472a60cab..48513c7e9d 100644\n--- a/hw/ide/ich.c\n+++ b/hw/ide/ich.c\n@@ -63,7 +63,6 @@\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n #include \"hw/pci/msi.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\ndiff --git a/hw/ide/isa.c b/hw/ide/isa.c\nindex 40213d662c..9fb24fc92b 100644\n--- a/hw/ide/isa.c\n+++ b/hw/ide/isa.c\n@@ -24,7 +24,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\n #include \"sysemu/dma.h\"\ndiff --git a/hw/ide/microdrive.c b/hw/ide/microdrive.c\nindex 17917c0b30..fde4d4645e 100644\n--- a/hw/ide/microdrive.c\n+++ b/hw/ide/microdrive.c\n@@ -24,7 +24,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pcmcia.h\"\n #include \"sysemu/block-backend.h\"\n #include \"sysemu/dma.h\"\ndiff --git a/hw/ide/pci.c b/hw/ide/pci.c\nindex f2dcc0ed77..34237c92fc 100644\n--- a/hw/ide/pci.c\n+++ b/hw/ide/pci.c\n@@ -24,7 +24,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\ndiff --git a/hw/ide/piix.c b/hw/ide/piix.c\nindex dfb21f65fa..a3afe1fd29 100644\n--- a/hw/ide/piix.c\n+++ b/hw/ide/piix.c\n@@ -25,11 +25,11 @@\n \n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\n #include \"sysemu/sysemu.h\"\n+#include \"sysemu/blockdev.h\"\n #include \"sysemu/dma.h\"\n \n #include \"hw/ide/pci.h\"\ndiff --git a/hw/ide/via.c b/hw/ide/via.c\nindex 35c3059325..117ac4d95e 100644\n--- a/hw/ide/via.c\n+++ b/hw/ide/via.c\n@@ -25,7 +25,6 @@\n  */\n #include \"qemu/osdep.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci.h\"\n #include \"hw/isa/isa.h\"\n #include \"sysemu/block-backend.h\"\n",
    "prefixes": [
        "13/34"
    ]
}