get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2229016,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229016/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260427161132.1463385-1-peter.maydell@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "msgid": "<20260427161132.1463385-1-peter.maydell@linaro.org>",
    "date": "2026-04-27T16:11:32",
    "name": "docs: Document TIMEOUT_MULTIPLIER for raising test timeouts",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f1811170912dd5dd52fe85360d14bce624490624",
    "submitter": {
        "id": 5111,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/5111/?format=api",
        "name": "Peter Maydell",
        "email": "peter.maydell@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260427161132.1463385-1-peter.maydell@linaro.org/mbox/",
    "series": [
        {
            "id": 501685,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501685/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501685",
            "date": "2026-04-27T16:11:32",
            "name": "docs: Document TIMEOUT_MULTIPLIER for raising test timeouts",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501685/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229016/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229016/checks/",
    "tags": {},
    "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=MY3RjsGl;\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 4g47rD58k8z1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 02:12:27 +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 1wHOYd-000466-V4; Mon, 27 Apr 2026 12:11:39 -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 <peter.maydell@linaro.org>)\n id 1wHOYc-00045t-EF\n for qemu-devel@nongnu.org; Mon, 27 Apr 2026 12:11:38 -0400",
            "from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>)\n id 1wHOYa-0001Wg-P1\n for qemu-devel@nongnu.org; Mon, 27 Apr 2026 12:11:38 -0400",
            "by mail-wm1-x32a.google.com with SMTP id\n 5b1f17b1804b1-488a14c31eeso86419705e9.0\n for <qemu-devel@nongnu.org>; Mon, 27 Apr 2026 09:11:36 -0700 (PDT)",
            "from lanath.. (wildly.archaic.org.uk. [81.2.115.145])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a52d232afsm171002385e9.31.2026.04.27.09.11.33\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Apr 2026 09:11:34 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777306295; x=1777911095; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=RSgoczyNjOIMwjfhNAddodzR3D/slhDRqdDm8fOkQ7Q=;\n b=MY3RjsGl7953wHZzTGXvwNsTYyuIoCP8J9tEKfJwUFnKIkef/jZ+7xcT/Wo4rCih2C\n KCseJImDAjqoezR7m/UiaVl1ijDVsmJDgwHFrMsdsgLQ9oCsXQRWvy944CvswxWo91Zg\n c3Sphc4Fxmk0RkP1UBRbn+LXQLWcgQ/cLZGLH0CwxmN5btnHSrYQxWlouoEu6P4Clxf6\n Gba3aeaY3u6IwaSOQ+XjH8o3WURlmqBFkxYZgsRRaD8t+dOK/eFvSZrghDD+akmjfxzE\n rBBWA9yqS/nD4+0UbJqlUxA9mzKPHtaetmchJr8842cgULtHzrZrsHFCgFSZMoqUurig\n NL+w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777306295; x=1777911095;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=RSgoczyNjOIMwjfhNAddodzR3D/slhDRqdDm8fOkQ7Q=;\n b=l09jVbCRUKe0LWM740SD7VGGZFXBFLtE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gcnuRnw==",
        "X-Received": "by 2002:a05:600c:1e8b:b0:48a:525b:e148 with SMTP id\n 5b1f17b1804b1-48a76f47630mr648345e9.4.1777306295083;\n Mon, 27 Apr 2026 09:11:35 -0700 (PDT)",
        "From": "Peter Maydell <peter.maydell@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>,\n Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>",
        "Subject": "[PATCH] docs: Document TIMEOUT_MULTIPLIER for raising test timeouts",
        "Date": "Mon, 27 Apr 2026 17:11:32 +0100",
        "Message-ID": "<20260427161132.1463385-1-peter.maydell@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::32a;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32a.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": "Our test infrastructure allows you to set the TIMEOUT_MULTIPLIER\nenvironment variable to raise the test timeouts if you're building\nfor a slow environment.  (scripts/mtest2make.py reads it and sets the\nmeson test -t argument accordingly.)\n\nDocument this so it's not a secret feature only known to a select\nfew.\n\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n docs/devel/testing/main.rst | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/docs/devel/testing/main.rst b/docs/devel/testing/main.rst\nindex 0662766b5c..b01a374865 100644\n--- a/docs/devel/testing/main.rst\n+++ b/docs/devel/testing/main.rst\n@@ -52,6 +52,21 @@ Before running tests, it is best to build QEMU programs first. Some tests\n expect the executables to exist and will fail with obscure messages if they\n cannot find them.\n \n+The timeouts for QEMU tests are set conservatively so you should not\n+in general find that tests time out. However, if you are running on a\n+particularly slow host or with a slow configuration (such as a build\n+with the clang address-sanitizer enabled) you can globally raise all\n+the timeouts, by setting the ``TIMEOUT_MULTIPLIER`` environment\n+variable. For instance:\n+\n+.. code::\n+\n+ TIMEOUT_MULTIPLIER=3 make check\n+\n+will run with all the default timeouts multiplied by three. You can\n+also disable timeouts entirely by setting the environment variable to\n+``0``.\n+\n .. _unit-tests:\n \n Unit tests\n@@ -959,6 +974,9 @@ Python. You can run the functional tests simply by executing:\n \n See :ref:`checkfunctional-ref` for more details.\n \n+The harness for the functional tests also honours the\n+``TIMEOUT_MULTIPLIER`` environment variable.\n+\n .. _checktcg-ref:\n \n Testing with \"make check-tcg\"\n",
    "prefixes": []
}