get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231712,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231712/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260501101505.3485916-6-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": "<20260501101505.3485916-6-peter.maydell@linaro.org>",
    "date": "2026-05-01T10:14:42",
    "name": "[PULL,05/28] qemu-options: Improve description for -smb option",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f023271cd8df38de9ed927206bcb5db159ae36dc",
    "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/20260501101505.3485916-6-peter.maydell@linaro.org/mbox/",
    "series": [
        {
            "id": 502437,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502437/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502437",
            "date": "2026-05-01T10:14:41",
            "name": "[PULL,01/28] hw/arm/fsl-imx8mp: Do not create redundant unimplemented devices",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502437/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231712/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231712/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=aGaq9gck;\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 4g6RlW6xWvz1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 20:16:23 +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 1wIku6-0003ya-Mp; Fri, 01 May 2026 06:15:26 -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 1wIktw-0003uq-49\n for qemu-devel@nongnu.org; Fri, 01 May 2026 06:15:16 -0400",
            "from mail-wm1-x329.google.com ([2a00:1450:4864:20::329])\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 1wIktu-0008Hy-3W\n for qemu-devel@nongnu.org; Fri, 01 May 2026 06:15:15 -0400",
            "by mail-wm1-x329.google.com with SMTP id\n 5b1f17b1804b1-4891c0620bcso13607015e9.1\n for <qemu-devel@nongnu.org>; Fri, 01 May 2026 03:15:13 -0700 (PDT)",
            "from lanath.. (wildly.archaic.org.uk. [81.2.115.145])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a8fede418sm12863335e9.6.2026.05.01.03.15.11\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 May 2026 03:15:11 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777630512; x=1778235312; 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=J0oxSzs5Xj1EPDKnDrGEtP3tZDOMa7Ke42A06bFU/R4=;\n b=aGaq9gckjXkiNBMeoGrbJZ4gqvf3Jb23J1dyk50zxabl+6nG52q3KPAj/lteGxL6Gs\n gpx39xQwvjCuKqN9soY1JFEqwyG7ObIGuDJZzPh+L83mH1h1j+SG/7LbOrhzjY2bAvB5\n MZrTyt+hxjsktxroVFns2e0GsZgo8snTZ6fcCivy/U/Wb1wDqSRUIuKynL9zqRBsNCfT\n 69cex9sNWTTqlXRUQ06/uggiAoP6qLe1rNQsn9iRo5xsD/WXks4yWV0ZD6HWrvfAGrJH\n Y5gIlbmHV6rUUbJzBJkybbU+mZDHHOs2TjSZ2Hk3rtEXI+3UBbB+S8EMb0eiQmDmt63E\n N0BA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777630512; x=1778235312;\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=J0oxSzs5Xj1EPDKnDrGEtP3tZDOMa7Ke42A06bFU/R4=;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4wX435VL6gyTlJer6ABH9ln19LpYLNInSjZywT54xKI1ACKg1L",
        "X-Received": "by 2002:a05:600c:e41a:b0:489:1ae1:4eb9 with SMTP id\n 5b1f17b1804b1-48a84532408mr79466475e9.28.1777630512468;\n Fri, 01 May 2026 03:15:12 -0700 (PDT)",
        "From": "Peter Maydell <peter.maydell@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Subject": "[PULL 05/28] qemu-options: Improve description for -smb option",
        "Date": "Fri,  1 May 2026 11:14:42 +0100",
        "Message-ID": "<20260501101505.3485916-6-peter.maydell@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260501101505.3485916-1-peter.maydell@linaro.org>",
        "References": "<20260501101505.3485916-1-peter.maydell@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::329;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x329.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": "From: Pali Rohár <pali@kernel.org>\n\nAdd #PRE and #NOFNR flags to LMHOSTS example line.\nInclude information about LMHOSTS path on Windows 3.x.\n\nWindows NT 3.1 requires #NOFNR flag for successful hostname resolving as\ndescribed in MS article Q103765 because qemu/smbd does not respond to\nnetbios name verification queries. #PRE is suggested in that article too\nand decrease delay on Windows 3.x for the first connection.\n\nSigned-off-by: Pali Rohár <pali@kernel.org>\n[PMM: Expand documentation to note what these flags do, and\n clarify Windows LMHOSTS paths for different Windows versions,\n based on discussion in patch review, fix existing grammar nit]\nReviewed-by: Peter Maydell <peter.maydell@linaro.org>\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n qemu-options.hx | 19 ++++++++++++++-----\n 1 file changed, 14 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/qemu-options.hx b/qemu-options.hx\nindex e780bc2ac0..98e39a1ad4 100644\n--- a/qemu-options.hx\n+++ b/qemu-options.hx\n@@ -3415,7 +3415,7 @@ SRST\n \n     ``smb=dir[,smbserver=addr]``\n         When using the user mode network stack, activate a built-in SMB\n-        server so that Windows OSes can access to the host files in\n+        server so that Windows OSes can access the host files in\n         ``dir`` transparently. The IP address of the SMB server can be\n         set to addr. By default the 4th IP in the guest network is used,\n         i.e. x.x.x.4.\n@@ -3424,11 +3424,20 @@ SRST\n \n         ::\n \n-            10.0.2.4 smbserver\n+            10.0.2.4 smbserver #PRE #NOFNR\n \n-        must be added in the file ``C:\\WINDOWS\\LMHOSTS`` (for windows\n-        9x/Me) or ``C:\\WINNT\\SYSTEM32\\DRIVERS\\ETC\\LMHOSTS`` (Windows\n-        NT/2000).\n+        must be added in the ``LMHOSTS`` file. In this line, ``#PRE``\n+        requests pre-caching of the mapping, which speeds up the initial\n+        connection on some Windows versions. ``#NOFNR`` is necessary for\n+        Windows NT 3.1 to tell it not to send QEMU NBNS query packets that\n+        QEMU does not handle, and is harmlessly ignored on other versions.\n+\n+        The ``LMHOSTS`` file may be in different locations depending on\n+        the Windows version:\n+\n+        -  ``C:\\WINDOWS\\LMHOSTS`` for Windows 3x/9x/Me\n+        -  ``C:\\WINNT\\SYSTEM32\\DRIVERS\\ETC\\LMHOSTS`` for Windows NT/2000\n+        -  ``C:\\WINDOWS\\SYSTEM32\\DRIVERS\\ETC\\LMHOSTS`` for Windows XP and newer\n \n         Then ``dir`` can be accessed in ``\\\\smbserver\\qemu``.\n \n",
    "prefixes": [
        "PULL",
        "05/28"
    ]
}