get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 817610,
    "url": "http://patchwork.ozlabs.org/api/patches/817610/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170922154014.29350-17-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-17-f4bug@amsat.org>",
    "list_archive_url": null,
    "date": "2017-09-22T15:39:56",
    "name": "[16/34] hw/tpm: remove old i386 dependency",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "3c74a75c3f93340c4ae701fc8e92cdd201b90dc3",
    "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-17-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/817610/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/817610/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=\"K0I4B1OI\"; 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 3xzJ4g3K8Bz9t3h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 23 Sep 2017 01:56:34 +1000 (AEST)",
            "from localhost ([::1]:59656 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 1dvQJb-0000Yz-K5\n\tfor incoming@patchwork.ozlabs.org; Fri, 22 Sep 2017 11:56:31 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:41761)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dvQ53-00052X-Ev\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:30 -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 1dvQ50-0003PY-CU\n\tfor qemu-devel@nongnu.org; Fri, 22 Sep 2017 11:41:29 -0400",
            "from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]:33080)\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 1dvQ50-0003PK-8y; Fri, 22 Sep 2017 11:41:26 -0400",
            "by mail-qt0-x243.google.com with SMTP id b1so894551qtc.0;\n\tFri, 22 Sep 2017 08:41:26 -0700 (PDT)",
            "from yoga.lan ([181.93.89.178]) by smtp.gmail.com with ESMTPSA id\n\tz75sm71742qkb.71.2017.09.22.08.41.22\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tFri, 22 Sep 2017 08:41:25 -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=5ijSi0UUShfRXKPILyfq4mBsuuloWZVx8m1aliCpzzA=;\n\tb=K0I4B1OIsGckHHSs/oYXujS3jsqeMISEzg0fIRUC31x/d/tRtRYPMge9y0iYXZuNeb\n\tneUlmdvNEVLR2WOPJlzZuFEb/2sR6+ZZaKsm9Jj+SMfYZALoS0EObZV/kp3QCXkbHOY3\n\tHUdv6ECCLugC/gLCL90FNgM2dxPxnzL++PgmEYKQs0RlE4e91fxuJogzzUzB66XC9KtW\n\tSaVg9gCHN9+GSWZp6MiyMCBUUCekRY3cunE5UlCKO9G8F6oeuqA1FG6/yV5unYTOud5U\n\txmoyNAh5P8aq4Juq80E+d4WN0DUhf3hAsQEab8GDt6P/K8Um4VB5taPyKepGdNTYDFD9\n\tZ1pA==",
        "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=5ijSi0UUShfRXKPILyfq4mBsuuloWZVx8m1aliCpzzA=;\n\tb=LOJP2MWA9FhGNpjGXQ9dGRRORGSHWHWK7zoYAhR+ujfrFOfIm3uurogEZ2IvYSEKVi\n\taM7UdfhiQmfxu2meDQiHyuwlys59ddfSiaee88wNsXKc0u3Q+Qwu3jS75SNpjXpvGTFr\n\twSK92L/NrV5+xlYnSilq+XciyXAby0B0Wz0bSA1AirVHGSno/oYANf3XfSipXcFDJO0m\n\txUiImIJvdsEwFzt3U1lwMzWGR0cefO5PEokX1qEVz4B4fwaNgd3TZHRBJ/9Aki24LNmM\n\tb4Y1iPEPApwd+jlCkPq/YazGVpMTMMMLsJp7HIiAq6ckXXf8spmopYqoJYw5eNR2en0k\n\tK5dw==",
        "X-Gm-Message-State": "AHPjjUihlbC0BF17NefH+w/j+sHyGvtn7GmCOplXacDaslIJZC/TK0MX\n\tuG827sHdt1WDJImEIJPePBg=",
        "X-Google-Smtp-Source": "AOwi7QATGvE6TRQsK7vmZgUroEbhNFoPLv+DA8u+BXemHJSlzniQjaWt9zMqlLeklNerGdN3oLb30A==",
        "X-Received": "by 10.237.60.101 with SMTP id u34mr8607428qte.153.1506094885725; \n\tFri, 22 Sep 2017 08:41:25 -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\tStefan Berger <stefanb@linux.vnet.ibm.com>,\n\tAmarnath Valluri <amarnath.valluri@intel.com>",
        "Date": "Fri, 22 Sep 2017 12:39:56 -0300",
        "Message-Id": "<20170922154014.29350-17-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::243",
        "Subject": "[Qemu-devel] [PATCH 16/34] hw/tpm: 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-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": "Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n hw/tpm/tpm_passthrough.c | 1 -\n hw/tpm/tpm_tis.c         | 1 -\n 2 files changed, 2 deletions(-)",
    "diff": "diff --git a/hw/tpm/tpm_passthrough.c b/hw/tpm/tpm_passthrough.c\nindex 9234eb3459..461f551a0c 100644\n--- a/hw/tpm/tpm_passthrough.c\n+++ b/hw/tpm/tpm_passthrough.c\n@@ -29,7 +29,6 @@\n #include \"sysemu/tpm_backend.h\"\n #include \"tpm_int.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"sysemu/tpm_backend_int.h\"\n #include \"tpm_tis.h\"\n #include \"tpm_util.h\"\ndiff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c\nindex a6440fef91..a3a93f7229 100644\n--- a/hw/tpm/tpm_tis.c\n+++ b/hw/tpm/tpm_tis.c\n@@ -28,7 +28,6 @@\n #include \"sysemu/block-backend.h\"\n #include \"exec/address-spaces.h\"\n #include \"hw/hw.h\"\n-#include \"hw/i386/pc.h\"\n #include \"hw/pci/pci_ids.h\"\n #include \"tpm_tis.h\"\n #include \"qapi/error.h\"\n",
    "prefixes": [
        "16/34"
    ]
}