get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806941,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/806941/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/150398158648.19648.3433190744010530855.malone@chaenomeles.canonical.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<150398158648.19648.3433190744010530855.malone@chaenomeles.canonical.com>",
    "list_archive_url": null,
    "date": "2017-08-29T04:39:46",
    "name": "[Bug,1713434] Re: prom-env-test test aborted and core dumped",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4a4f627b67013c8ae22f80e4a4aba9cddb29bb2c",
    "submitter": {
        "id": 72248,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/72248/?format=api",
        "name": "Thomas Huth",
        "email": "1713434@bugs.launchpad.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/150398158648.19648.3433190744010530855.malone@chaenomeles.canonical.com/mbox/",
    "series": [
        {
            "id": 302,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/302/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=302",
            "date": "2017-08-29T04:39:46",
            "name": "[Bug,1713434] Re: prom-env-test test aborted and core dumped",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/302/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806941/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806941/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>)",
        "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 3xhGLD347xz9t2x\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 14:46:11 +1000 (AEST)",
            "from localhost ([::1]:42763 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 1dmYPf-0004Gg-RM\n\tfor incoming@patchwork.ozlabs.org; Tue, 29 Aug 2017 00:46:07 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:49969)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <bounces@canonical.com>) id 1dmYPJ-0004GR-6d\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 00:45:46 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <bounces@canonical.com>) id 1dmYPF-0000Bi-9r\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 00:45:45 -0400",
            "from indium.canonical.com ([91.189.90.7]:53252)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <bounces@canonical.com>)\n\tid 1dmYPF-0000BY-23\n\tfor qemu-devel@nongnu.org; Tue, 29 Aug 2017 00:45:41 -0400",
            "from loganberry.canonical.com ([91.189.90.37])\n\tby indium.canonical.com with esmtp (Exim 4.76 #1 (Debian))\n\tid 1dmYPD-0008I7-4q\n\tfor <qemu-devel@nongnu.org>; Tue, 29 Aug 2017 04:45:39 +0000",
            "from loganberry.canonical.com (localhost [127.0.0.1])\n\tby loganberry.canonical.com (Postfix) with ESMTP id EDCE02E80CB\n\tfor <qemu-devel@nongnu.org>; Tue, 29 Aug 2017 04:45:38 +0000 (UTC)"
        ],
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "Date": "Tue, 29 Aug 2017 04:39:46 -0000",
        "From": "Thomas Huth <1713434@bugs.launchpad.net>",
        "To": "qemu-devel@nongnu.org",
        "X-Launchpad-Notification-Type": "bug",
        "X-Launchpad-Bug": "product=qemu; status=In Progress; importance=Undecided;\n\tassignee=th.huth@googlemail.com; ",
        "X-Launchpad-Bug-Information-Type": "Public",
        "X-Launchpad-Bug-Private": "no",
        "X-Launchpad-Bug-Security-Vulnerability": "no",
        "X-Launchpad-Bug-Commenters": "nasastry th-huth",
        "X-Launchpad-Bug-Reporter": "R.Nageswara Sastry (nasastry)",
        "X-Launchpad-Bug-Modifier": "Thomas Huth (th-huth)",
        "References": "<150391152035.18876.7874968547091336063.malonedeb@chaenomeles.canonical.com>",
        "Message-Id": "<150398158648.19648.3433190744010530855.malone@chaenomeles.canonical.com>",
        "X-Launchpad-Message-Rationale": "Subscriber (QEMU) @qemu-devel-ml",
        "X-Launchpad-Message-For": "qemu-devel-ml",
        "Precedence": "bulk",
        "X-Generated-By": "Launchpad (canonical.com); Revision=\"18446\";\n\tInstance=\"launchpad-lazr.conf\"",
        "X-Launchpad-Hash": "f536d53ab0184316499d95669663964add31f14b",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]",
        "X-Received-From": "91.189.90.7",
        "Subject": "[Qemu-devel] [Bug 1713434] Re: prom-env-test test aborted and core\n\tdumped",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "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>",
        "Reply-To": "Bug 1713434 <1713434@bugs.launchpad.net>",
        "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": "Weird. I managed to run the test on a POWER9 box today, too, and it\nworks for me:\n\nTEST: tests/prom-env-test... (pid=18912)\n  /ppc64/prom-env/mac99:                                               OK\n  /ppc64/prom-env/g3beige:                                             OK\n  /ppc64/prom-env/pseries:                                             OK\nPASS: tests/prom-env-test\n\nWhich OS and C compiler are you using?\n\nAlso, could you please try to add this patch (to add \"-serial\n/dev/stderr\") and then post the console output of the prom-env-test:",
    "diff": "diff --git a/tests/prom-env-test.c b/tests/prom-env-test.c\n--- a/tests/prom-env-test.c\n+++ b/tests/prom-env-test.c\n@@ -51,7 +51,7 @@ static void test_machine(const void *machine)\n     extra_args = strcmp(machine, \"pseries\") == 0 ? \"-nodefaults\" : \"\";\n \n     args = g_strdup_printf(\"-M %s,accel=tcg %s -prom-env 'use-nvramrc?=true' \"\n-                           \"-prom-env 'nvramrc=%x %x l!' \",\n+                           \"-prom-env 'nvramrc=%x %x l!' -serial /dev/stderr\",\n                            (const char *)machine, extra_args, MAGIC, ADDRESS);\n \n     qtest_start(args);\n",
    "prefixes": [
        "Bug",
        "1713434"
    ]
}