get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817591,
    "url": "http://patchwork.ozlabs.org/api/patches/817591/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-3-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-3-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-22T15:39:42",
    "name": "[02/34] hw: remove \"qemu/osdep.h\" from header files",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "876f24923dd57e1d8c14fc48624518abb22b82ab",
    "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-3-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/817591/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817591/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=\"JGqj/z72\"; 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 3xzHml0fm6z9t16\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:42:47 +1000 (AEST)",
            "from localhost ([::1]:59574 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 1dvQ6H-0005gz-4g\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:42:45 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:40916)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ4G-0004EB-CZ\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:43 -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 1dvQ4D-0002qS-0t\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:40:40 -0400",
            "from mail-qk0-x243.google.com ([2607:f8b0:400d:c09::243]:32882)\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 1dvQ4C-0002pT-PD; Fri, 22 Sep 2017 11:40:36 -0400",
            "by mail-qk0-x243.google.com with SMTP id g128so877900qke.0;\n\tFri, 22 Sep 2017 08:40:36 -0700 (PDT)",
            "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.40.32\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:40:35 -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=A+X4NjKdSZ98YfB3XO+lOzZQXjpxyvOtYDVm50DKHRg=;\n\tb=JGqj/z72UgyzlUNYMZW4M/zFSGXeOGIQeUIShXfx1HcwFMXda4PzE50lVpwwgTMYHj\n\tePOVuTkqFrOHXHQAfSQIMzyQTtsfeYRTh8RH4mpGwZFfd7XYHP9lp/sTMVCgzS+jXRFE\n\toDJg6f0WrSL/F8ObMx/z2kCN1OZrtBISQ4Owk6cAywPHFajRJv4Oa3vkVeVqm3nlGxju\n\tH/ZTJsDwlCuf2OhXxwe3jZ6KYrbTJ/jiz0vdMAtVOspfAVjnpvgOWlBn8NKa06lpH1Ha\n\tzsRQGlTkIE4JnVzVVmmlRpmCIY2clUW/87k4U8fRPsr66h4wiCRlFO9gy3MK5YnWdLyx\n\ta0WA==",
        "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=A+X4NjKdSZ98YfB3XO+lOzZQXjpxyvOtYDVm50DKHRg=;\n\tb=Iok9SroOpbqXBXbPs00lRUcluefkt3dxId3x+xQQlwfouVqFMXVDR7GihbA+fSP/6S\n\tFQIzlIR4RG7VQGVA0UaO7LqopUkmWmYoGJeUufJwGHpO/Jijwg/W5obcZiYJdyq2zclY\n\tvZ28rile2LSK8B152rCYqtqtBMdNo9Fcd1XQHNzWRgvo0CYvwygHyPtOfVzjtMTnXgVK\n\toAMiWiHulXt9Djj3cmDYgAQ0ZNT92iPui058bH8cUzATFwfpuPeuK4qhTzDkc8uxWLAS\n\tJ2v+LQoGf/uuHxWM3Ck4fkXh/6WjtzTP0Bo+yoK0QXrGQAOxUyDAlNWZt9NyhOyVO6H0\n\tckVQ==",
        "X-Gm-Message-State": "AHPjjUhkQ8mS9oSv8bjBfGv7oVK7N0r71qksFmnUgdOQJV9+ZeIXIQgx\n\tRzkTMuaifg0bCqk1HYDH+Og=",
        "X-Google-Smtp-Source": "AOwi7QA62JhGBrVWba08PBQuY0ArCARosGRA62DNsvSjX543NggHpXkND/zHrsY5img4s33JVxDgrg==",
        "X-Received": "by 10.55.130.197 with SMTP id e188mr7916425qkd.203.1506094836160;\n\tFri, 22 Sep 2017 08:40:36 -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\t\"Michael S. Tsirkin\" <mst@redhat.com>, \n\tIgor Mammedov <imammedo@redhat.com>, Corey Minyard <minyard@acm.org>, \n\tBalaton Zoltan <balaton@eik.bme.hu>, Alexander Graf <agraf@suse.de>",
        "Date": "Fri, 22 Sep 2017 12:39:42 -0300",
        "Message-Id": "<20170922154014.29350-3-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::243",
        "Subject": "[Qemu-devel] [PATCH 02/34] hw: remove \"qemu/osdep.h\" from header\n\tfiles",
        "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, qemu-ppc@nongnu.org, =?utf-8?q?Philippe_Mathi?=\n\t=?utf-8?b?ZXUtRGF1ZMOp?= <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": "while here, add entries for ppc4xx_i2c in MAINTAINERS\n\napplied using ./scripts/clean-includes\n\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n\nZoltán you might want to add yourself a reviewer entry on ppc4xx :)\n\nR: Balaton Zoltan <balaton@eik.bme.hu>\n\n include/hw/acpi/ipmi.h      | 1 -\n include/hw/cpu/core.h       | 1 -\n include/hw/i2c/ppc4xx_i2c.h | 1 -\n MAINTAINERS                 | 2 ++\n 4 files changed, 2 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/include/hw/acpi/ipmi.h b/include/hw/acpi/ipmi.h\nindex ab2bb29048..c38483565c 100644\n--- a/include/hw/acpi/ipmi.h\n+++ b/include/hw/acpi/ipmi.h\n@@ -9,7 +9,6 @@\n #ifndef HW_ACPI_IPMI_H\n #define HW_ACPI_IPMI_H\n \n-#include \"qemu/osdep.h\"\n #include \"hw/acpi/aml-build.h\"\n \n /*\ndiff --git a/include/hw/cpu/core.h b/include/hw/cpu/core.h\nindex 79ac79c29c..b7470644d8 100644\n--- a/include/hw/cpu/core.h\n+++ b/include/hw/cpu/core.h\n@@ -9,7 +9,6 @@\n #ifndef HW_CPU_CORE_H\n #define HW_CPU_CORE_H\n \n-#include \"qemu/osdep.h\"\n #include \"hw/qdev.h\"\n \n #define TYPE_CPU_CORE \"cpu-core\"\ndiff --git a/include/hw/i2c/ppc4xx_i2c.h b/include/hw/i2c/ppc4xx_i2c.h\nindex e53042f6d4..3450bda577 100644\n--- a/include/hw/i2c/ppc4xx_i2c.h\n+++ b/include/hw/i2c/ppc4xx_i2c.h\n@@ -25,7 +25,6 @@\n #ifndef PPC4XX_I2C_H\n #define PPC4XX_I2C_H\n \n-#include \"qemu/osdep.h\"\n #include \"qemu-common.h\"\n #include \"hw/sysbus.h\"\n #include \"hw/i2c/i2c.h\"\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 762e37bfd6..7f49f1d046 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -945,7 +945,9 @@ M: Alexander Graf <agraf@suse.de>\n L: qemu-ppc@nongnu.org\n S: Odd Fixes\n F: hw/ppc/ppc4*.c\n+F: hw/i2c/ppc4xx_i2c.c\n F: include/hw/ppc/ppc4xx.h\n+F: include/hw/i2c/ppc4xx_i2c.h\n \n ppce500\n M: Alexander Graf <agraf@suse.de>\n",
    "prefixes": [
        "02/34"
    ]
}