get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2216230,
    "url": "http://patchwork.ozlabs.org/api/patches/2216230/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260326074247.188674-2-armbru@redhat.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": "<20260326074247.188674-2-armbru@redhat.com>",
    "list_archive_url": null,
    "date": "2026-03-26T07:42:45",
    "name": "[1/3] migration: Fix up error message for max-cpu-throttle",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a73142cdbd7ef6fe6e00f8d48b163464cb26305b",
    "submitter": {
        "id": 2645,
        "url": "http://patchwork.ozlabs.org/api/people/2645/?format=api",
        "name": "Markus Armbruster",
        "email": "armbru@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260326074247.188674-2-armbru@redhat.com/mbox/",
    "series": [
        {
            "id": 497542,
            "url": "http://patchwork.ozlabs.org/api/series/497542/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497542",
            "date": "2026-03-26T07:42:45",
            "name": "migration: Fix a few error messages and a bit of help",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497542/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2216230/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2216230/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=Sv3NL2Ii;\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 4fhG3x36yHz1y1G\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 26 Mar 2026 18:43:41 +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 1w5fMp-0001LI-LZ; Thu, 26 Mar 2026 03:42:59 -0400",
            "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 <armbru@redhat.com>) id 1w5fMn-0001KV-Ng\n for qemu-devel@nongnu.org; Thu, 26 Mar 2026 03:42:57 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <armbru@redhat.com>) id 1w5fMm-0003OS-60\n for qemu-devel@nongnu.org; Thu, 26 Mar 2026 03:42:57 -0400",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-121-PUdOWBFkMPa2DqqqatG1Eg-1; Thu,\n 26 Mar 2026 03:42:51 -0400",
            "from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id E98A118005B3; Thu, 26 Mar 2026 07:42:50 +0000 (UTC)",
            "from blackfin.pond.sub.org (unknown [10.45.242.6])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 98BF219560B1; Thu, 26 Mar 2026 07:42:50 +0000 (UTC)",
            "by blackfin.pond.sub.org (Postfix, from userid 1000)\n id DC36E21E6742; Thu, 26 Mar 2026 08:42:47 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774510975;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=cVIlzVVU0BV2W/zlbX8zJHPv6yoJcAsAC9Wkm7xhtBs=;\n b=Sv3NL2IiMhfvqrZYCSyJOolimjn+S+weCaF65dMRNbLF48EU1EZj+TbsMz27ba7FqpEFwp\n 06fxSgpga/4S4rpICkFoBMgu+z21FyqWCJaCTSuZ4gFeyJfIWpsjxyS/4YfLA/5L5nDNrD\n 0xyExZZtd6RH88r7QgkSoYVnUYky9tY=",
        "X-MC-Unique": "PUdOWBFkMPa2DqqqatG1Eg-1",
        "X-Mimecast-MFC-AGG-ID": "PUdOWBFkMPa2DqqqatG1Eg_1774510971",
        "From": "Markus Armbruster <armbru@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "peterx@redhat.com,\n\tfarosas@suse.de",
        "Subject": "[PATCH 1/3] migration: Fix up error message for max-cpu-throttle",
        "Date": "Thu, 26 Mar 2026 08:42:45 +0100",
        "Message-ID": "<20260326074247.188674-2-armbru@redhat.com>",
        "In-Reply-To": "<20260326074247.188674-1-armbru@redhat.com>",
        "References": "<20260326074247.188674-1-armbru@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.12",
        "Received-SPF": "pass client-ip=170.10.129.124; envelope-from=armbru@redhat.com;\n helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=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, 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": "Fixes: 1a739d301232 (migration: Do away with usage of QERR_INVALID_PARAMETER_VALUE)\nSigned-off-by: Markus Armbruster <armbru@redhat.com>\n---\n migration/options.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/migration/options.c b/migration/options.c\nindex 658c578191..3eb5b39186 100644\n--- a/migration/options.c\n+++ b/migration/options.c\n@@ -1207,7 +1207,7 @@ bool migrate_params_check(MigrationParameters *params, Error **errp)\n \n     if (params->max_cpu_throttle < params->cpu_throttle_initial ||\n         params->max_cpu_throttle > 99) {\n-        error_setg(errp, \"max_Option cpu_throttle expects \"\n+        error_setg(errp, \"Option max_cpu_throttle expects \"\n                    \"an integer in the range of cpu_throttle_initial to 99\");\n         return false;\n     }\n",
    "prefixes": [
        "1/3"
    ]
}