get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226814,
    "url": "http://patchwork.ozlabs.org/api/patches/2226814/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260422195746.88865-15-philmd@linaro.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": "<20260422195746.88865-15-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-04-22T19:57:12",
    "name": "[PULL,14/48] hw/s390x: Include full path to target 'cpu.h' header",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "da7a813d2f22ee893784f7e37c48ee70d8b8c03e",
    "submitter": {
        "id": 85046,
        "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "philmd@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260422195746.88865-15-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 501099,
            "url": "http://patchwork.ozlabs.org/api/series/501099/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501099",
            "date": "2026-04-22T19:56:59",
            "name": "[PULL,01/48] hw/avr: Build as common unit files",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501099/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226814/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226814/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@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=Qx6B+FRb;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g198w35Ffz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 23 Apr 2026 06:01:36 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wFdjZ-0005a7-Fq; Wed, 22 Apr 2026 15:59:41 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wFdjT-0005PK-1w\n for qemu-devel@nongnu.org; Wed, 22 Apr 2026 15:59:38 -0400",
            "from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wFdjO-0000vO-3n\n for qemu-devel@nongnu.org; Wed, 22 Apr 2026 15:59:33 -0400",
            "by mail-wr1-x42d.google.com with SMTP id\n ffacd0b85a97d-441209fb77eso1562483f8f.1\n for <qemu-devel@nongnu.org>; Wed, 22 Apr 2026 12:59:28 -0700 (PDT)",
            "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4cb13a0sm47869520f8f.8.2026.04.22.12.59.25\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Wed, 22 Apr 2026 12:59:25 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1776887966; x=1777492766; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=3FA6kV14LHUuP0QpK4mqiTkInujSRm5Anz7/zzy3MKQ=;\n b=Qx6B+FRb1PcCvJUokwhubwFPYOJA/RXaos56rbgavQ8xSX9l1/mZLAZTUyEXMVv5IE\n PTMG0b8i00LylLB/YdFUaGQUf1ZFotE3bBEp58rhKqsO+BJZgOgeK3uQm2tHlpsNsk2z\n +63zBxtnUCi0AUkATXITiSUQQCShruJZHrjbkT0pXut6j+dh6cVgOE4+3S7VwHJ/eBBp\n vLSqBXSJNIl1riZYhrQ22Wi4eH+XnH/bkJ2EVxSl5Ri5g02pOJ17tSql2yjZDBA7HVeg\n rJqfkxGFZFBaPxfVuZTI4u/rTnCFcQmU/8ItOpuckaA+TQSPrElobUFU5f/NP062YV9g\n 9SnA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776887966; x=1777492766;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=3FA6kV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ZDsKw3br3XmbEMNc3FWUjIpX7g0SOw5KJSwrqY4\n 0ZESwc5QzA=",
        "X-Received": "by 2002:a05:6000:208a:b0:43e:531f:720c with SMTP id\n ffacd0b85a97d-43fe407383cmr36091773f8f.11.1776887966482;\n Wed, 22 Apr 2026 12:59:26 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Subject": "[PULL 14/48] hw/s390x: Include full path to target 'cpu.h' header",
        "Date": "Wed, 22 Apr 2026 21:57:12 +0200",
        "Message-ID": "<20260422195746.88865-15-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260422195746.88865-1-philmd@linaro.org>",
        "References": "<20260422195746.88865-1-philmd@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::42d;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x42d.google.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://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 <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nReviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>\nMessage-Id: <20260313062055.2188-32-philmd@linaro.org>\n---\n hw/s390x/ipl.h            | 2 +-\n hw/s390x/s390-hypercall.h | 2 +-\n hw/s390x/ap-bridge.c      | 2 +-\n hw/s390x/s390-hypercall.c | 2 +-\n hw/s390x/s390-stattrib.c  | 2 +-\n hw/s390x/tod-tcg.c        | 2 +-\n 6 files changed, 6 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/hw/s390x/ipl.h b/hw/s390x/ipl.h\nindex 403cd08450d..fac30763df2 100644\n--- a/hw/s390x/ipl.h\n+++ b/hw/s390x/ipl.h\n@@ -13,7 +13,7 @@\n #ifndef HW_S390_IPL_H\n #define HW_S390_IPL_H\n \n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n #include \"exec/target_page.h\"\n #include \"system/address-spaces.h\"\n #include \"system/memory.h\"\ndiff --git a/hw/s390x/s390-hypercall.h b/hw/s390x/s390-hypercall.h\nindex 4f07209128c..c5a2b17e858 100644\n--- a/hw/s390x/s390-hypercall.h\n+++ b/hw/s390x/s390-hypercall.h\n@@ -12,7 +12,7 @@\n #ifndef HW_S390_HYPERCALL_H\n #define HW_S390_HYPERCALL_H\n \n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n \n #define DIAG500_VIRTIO_NOTIFY           0 /* legacy, implemented as a NOP */\n #define DIAG500_VIRTIO_RESET            1 /* legacy */\ndiff --git a/hw/s390x/ap-bridge.c b/hw/s390x/ap-bridge.c\nindex 5cdbf098074..c7e49d966ba 100644\n--- a/hw/s390x/ap-bridge.c\n+++ b/hw/s390x/ap-bridge.c\n@@ -14,7 +14,7 @@\n #include \"qemu/bitops.h\"\n #include \"qemu/module.h\"\n #include \"hw/s390x/ap-bridge.h\"\n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n \n static char *ap_bus_get_dev_path(DeviceState *dev)\n {\ndiff --git a/hw/s390x/s390-hypercall.c b/hw/s390x/s390-hypercall.c\nindex 508dd97ca0d..71dc717d08a 100644\n--- a/hw/s390x/s390-hypercall.c\n+++ b/hw/s390x/s390-hypercall.c\n@@ -11,7 +11,7 @@\n \n #include \"qemu/osdep.h\"\n #include \"qemu/error-report.h\"\n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n #include \"hw/s390x/s390-virtio-ccw.h\"\n #include \"hw/s390x/s390-hypercall.h\"\n #include \"hw/s390x/ioinst.h\"\ndiff --git a/hw/s390x/s390-stattrib.c b/hw/s390x/s390-stattrib.c\nindex d808ece3b92..2e83aa211cd 100644\n--- a/hw/s390x/s390-stattrib.c\n+++ b/hw/s390x/s390-stattrib.c\n@@ -20,7 +20,7 @@\n #include \"qemu/error-report.h\"\n #include \"qapi/error.h\"\n #include \"qobject/qdict.h\"\n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n \n /* 512KiB cover 2GB of guest memory */\n #define CMMA_BLOCK_SIZE  (512 * KiB)\ndiff --git a/hw/s390x/tod-tcg.c b/hw/s390x/tod-tcg.c\nindex 0cc96624e1b..448b531b2ea 100644\n--- a/hw/s390x/tod-tcg.c\n+++ b/hw/s390x/tod-tcg.c\n@@ -14,7 +14,7 @@\n #include \"qemu/timer.h\"\n #include \"qemu/cutils.h\"\n #include \"qemu/module.h\"\n-#include \"cpu.h\"\n+#include \"target/s390x/cpu.h\"\n #include \"tcg/tcg_s390x.h\"\n #include \"system/rtc.h\"\n \n",
    "prefixes": [
        "PULL",
        "14/48"
    ]
}