get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194278,
    "url": "http://patchwork.ozlabs.org/api/patches/2194278/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260208055858.2166524-2-damien@zamaudio.com/",
    "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": "<20260208055858.2166524-2-damien@zamaudio.com>",
    "list_archive_url": null,
    "date": "2026-02-08T05:59:19",
    "name": "[v5,1/5,qemu] Include new arbitrary limits if not already defined",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "06ed47c9175a4d3b93facc9a0d3bca208805dc60",
    "submitter": {
        "id": 77328,
        "url": "http://patchwork.ozlabs.org/api/people/77328/?format=api",
        "name": "Damien Zammit",
        "email": "damien@zamaudio.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260208055858.2166524-2-damien@zamaudio.com/mbox/",
    "series": [
        {
            "id": 491409,
            "url": "http://patchwork.ozlabs.org/api/series/491409/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491409",
            "date": "2026-02-08T05:59:13",
            "name": "GNU/Hurd support",
            "version": 5,
            "mbox": "http://patchwork.ozlabs.org/series/491409/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194278/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194278/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 secure) header.d=zamaudio.com header.i=@zamaudio.com header.a=rsa-sha256\n header.s=protonmail3 header.b=o7Bhyt1q;\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=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.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 4f7xyh34Z8z1xtV\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 08 Feb 2026 17:01:00 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1voxpa-0000Ok-97; Sun, 08 Feb 2026 00:59:38 -0500",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <damien@zamaudio.com>)\n id 1voxpP-0000MC-GJ; Sun, 08 Feb 2026 00:59:27 -0500",
            "from mail-4317.protonmail.ch ([185.70.43.17])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <damien@zamaudio.com>)\n id 1voxpO-0007TY-0N; Sun, 08 Feb 2026 00:59:27 -0500"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=zamaudio.com;\n s=protonmail3; t=1770530362; x=1770789562;\n bh=OZJgORl8cEThdrHDzYfVgvq5hw8RqcPt05THMARuhgM=;\n h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References:\n Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID:\n Message-ID:BIMI-Selector;\n b=o7Bhyt1qStxZwM6tVVFffVMp4K8tsRTzkDBaXWA4b02leCT9iVo2a4TkslUfbhwDU\n fxd8MH5HHEgjhNm6P60UHHWCdBfDkIJsSf6JmO5sstHLPjOEAKdFUoS4DJwpfYfTM8\n Al98j3cwkT3uZBmDCRIHqzynmaonBPy1vjW/lDHFm3CXiEfJFEoC5hN5eNTYMmMqGk\n kbh3MHsYj7YQ8QqQRbZ/9PzFaSs/ScsTcmeHJFoSHkNf/7582UswbFjLz19ih3bTq6\n Vpz/zmXinqV6OmX/pM7x/u/WYRZvEf4ucmq166yORU6eWkbixtRs0EHprnaMHfgSRh\n wWcAHqxkxR8mw==",
        "Date": "Sun, 08 Feb 2026 05:59:19 +0000",
        "To": "bug-hurd@gnu.org",
        "From": "Damien Zammit <damien@zamaudio.com>",
        "Cc": "qemu-devel@nongnu.org, qemu-block@nongnu.org, manolodemedici@gmail.com,\n pbonzini@redhat.com, stefanb@linux.ibm.com, peter.maydell@linaro.org,\n kwolf@redhat.com, berrange@redhat.com, eblake@redhat.com, bugaevc@gmail.com",
        "Subject": "[PATCH v5 1/5 qemu] Include new arbitrary limits if not already\n defined",
        "Message-ID": "<20260208055858.2166524-2-damien@zamaudio.com>",
        "In-Reply-To": "<20260208055858.2166524-1-damien@zamaudio.com>",
        "References": "<20260208055858.2166524-1-damien@zamaudio.com>",
        "Feedback-ID": "43209410:user:proton",
        "X-Pm-Message-ID": "69418220e619fe54236ab210324a8c3fcd403440",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=utf-8",
        "Content-Transfer-Encoding": "quoted-printable",
        "Received-SPF": "pass client-ip=185.70.43.17; envelope-from=damien@zamaudio.com;\n helo=mail-4317.protonmail.ch",
        "X-Spam_score_int": "-27",
        "X-Spam_score": "-2.8",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=unavailable 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": "From: Manolo de Medici <manolodemedici@gmail.com>\n\nAlthough GNU/Hurd supports unlimited path lengths\nonly bounded by available memory, for now we can use\nan arbitrary limit on PATH_MAX that matches what POSIX requires.\nWe don't have bandwidth to fix this properly right now.\n\nAuthor: Manolo de Medici <manolo.demedici@gmail.com>\nSigned-off-by: Damien Zammit <damien@zamaudio.com>\n---\n include/qemu/osdep.h | 15 +++++++++++----\n 1 file changed, 11 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h\nindex b384b5b506..2e67d75042 100644\n--- a/include/qemu/osdep.h\n+++ b/include/qemu/osdep.h\n@@ -385,6 +385,17 @@ void QEMU_ERROR(\"code path is reachable\")\n #define TIME_MAX TYPE_MAXIMUM(time_t)\n #endif\n \n+#ifndef PATH_MAX\n+#define PATH_MAX 1024\n+#endif\n+\n+/*\n+ * Use the same value as Linux for now.\n+ */\n+#ifndef IOV_MAX\n+#define IOV_MAX 1024\n+#endif\n+\n /* Mac OSX has a <stdint.h> bug that incorrectly defines SIZE_MAX with\n  * the wrong type. Our replacement isn't usable in preprocessor\n  * expressions, but it is sufficient for our needs. */\n@@ -661,10 +672,6 @@ struct iovec {\n     void *iov_base;\n     size_t iov_len;\n };\n-/*\n- * Use the same value as Linux for now.\n- */\n-#define IOV_MAX 1024\n \n ssize_t readv(int fd, const struct iovec *iov, int iov_cnt);\n ssize_t writev(int fd, const struct iovec *iov, int iov_cnt);\n",
    "prefixes": [
        "v5",
        "1/5",
        "qemu"
    ]
}