get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812570,
    "url": "http://patchwork.ozlabs.org/api/patches/812570/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.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": "<eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.com>",
    "list_archive_url": null,
    "date": "2017-09-11T19:52:46",
    "name": "[v4,2/8] Convert remaining error_report() to warn_report()",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6b6b3d9bd9ef6aa1313e920a8487f94ab4cc5e3b",
    "submitter": {
        "id": 47878,
        "url": "http://patchwork.ozlabs.org/api/people/47878/?format=api",
        "name": "Alistair Francis",
        "email": "alistair.francis@xilinx.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.com/mbox/",
    "series": [
        {
            "id": 2556,
            "url": "http://patchwork.ozlabs.org/api/series/2556/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=2556",
            "date": "2017-09-11T19:52:38",
            "name": "More warning reporting fixed",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/2556/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/812570/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812570/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@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=xilinx.onmicrosoft.com\n\theader.i=@xilinx.onmicrosoft.com header.b=\"D0UXMzhj\"; \n\tdkim-atps=neutral",
            "spf=pass (sender IP is 149.199.60.83)\n\tsmtp.mailfrom=xilinx.com; redhat.com; dkim=none (message not signed)\n\theader.d=none;redhat.com; dmarc=bestguesspass action=none\n\theader.from=xilinx.com;"
        ],
        "Received": [
            "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xrdxV3sYwz9s8J\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 05:57:18 +1000 (AEST)",
            "from localhost ([::1]:60216 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1drUpY-00063F-It\n\tfor incoming@patchwork.ozlabs.org; Mon, 11 Sep 2017 15:57:16 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:39872)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUot-000618-KM\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:36 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUop-00022k-Rw\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:35 -0400",
            "from mail-bn3nam01on0075.outbound.protection.outlook.com\n\t([104.47.33.75]:52954\n\thelo=NAM01-BN3-obe.outbound.protection.outlook.com)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <alistai@xilinx.com>) id 1drUop-00021S-M2\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:31 -0400",
            "from MWHPR0201CA0025.namprd02.prod.outlook.com\n\t(2603:10b6:301:74::38) by BY1PR02MB1129.namprd02.prod.outlook.com\n\t(2a01:111:e400:52a7::15) with Microsoft SMTP Server (version=TLS1_2, \n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12;\n\tMon, 11 Sep 2017 19:56:28 +0000",
            "from SN1NAM02FT057.eop-nam02.prod.protection.outlook.com\n\t(2a01:111:f400:7e44::200) by MWHPR0201CA0025.outlook.office365.com\n\t(2603:10b6:301:74::38) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.9 via\n\tFrontend Transport; Mon, 11 Sep 2017 19:56:28 +0000",
            "from xsj-pvapsmtpgw01 (149.199.60.83) by\n\tSN1NAM02FT057.mail.protection.outlook.com (10.152.73.105) with\n\tMicrosoft SMTP Server (version=TLS1_0,\n\tcipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11\n\tvia Frontend Transport; Mon, 11 Sep 2017 19:56:27 +0000",
            "from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01)\n\tby xsj-pvapsmtpgw01 with esmtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUok-0000If-QH; Mon, 11 Sep 2017 12:56:26 -0700",
            "from [127.0.0.1] (helo=localhost)\n\tby xsj-pvapsmtp01 with smtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUok-0008Vd-My; Mon, 11 Sep 2017 12:56:26 -0700",
            "from xsj-pvapsmtp01 (maildrop.xilinx.com [149.199.38.66])\n\tby xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id\n\tv8BJuLuW029740; Mon, 11 Sep 2017 12:56:21 -0700",
            "from [172.19.2.220] (helo=localhost.localdomain)\n\tby xsj-pvapsmtp01 with esmtp (Exim 4.63)\n\t(envelope-from <alistair.francis@xilinx.com>)\n\tid 1drUof-0008Ur-JT; Mon, 11 Sep 2017 12:56:21 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=xilinx.onmicrosoft.com; s=selector1-xilinx-com;\n\th=From:Date:Subject:Message-ID:Content-Type:MIME-Version;\n\tbh=uzcPqv2SvApsrpcB270gkNJyRbh1lcFte53xWJQWSp4=;\n\tb=D0UXMzhjIExfXBxsGwySMTc3BCwMy/6BH4FIpWZToygnSWSs97AiMfj11TynpkpQNpbDU2v5qiquCtZxpF+RSjfRNeNh5IOYNV90+FzlON+Een/eyNXa4cJNZYb3zkxw9Y6KZNxTjWrkjRU8vqs8q86qOKwWnMUNKHUD5DBji7Y=",
        "Received-SPF": "Pass (protection.outlook.com: domain of xilinx.com designates\n\t149.199.60.83 as permitted sender)\n\treceiver=protection.outlook.com; \n\tclient-ip=149.199.60.83; helo=xsj-pvapsmtpgw01;",
        "From": "Alistair Francis <alistair.francis@xilinx.com>",
        "To": "<qemu-devel@nongnu.org>",
        "Date": "Mon, 11 Sep 2017 12:52:46 -0700",
        "Message-ID": "<eec8cba0d5434bd828639e5e45f12182490ff47d.1505158760.git.alistair.francis@xilinx.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<cover.1505158760.git.alistair.francis@xilinx.com>",
        "References": "<cover.1505158760.git.alistair.francis@xilinx.com>",
        "X-RCIS-Action": "ALLOW",
        "X-TM-AS-Product-Ver": "IMSS-7.1.0.1224-8.1.0.1062-23322.005",
        "X-TM-AS-User-Approved-Sender": "Yes;Yes",
        "X-EOPAttributedMessage": "0",
        "X-MS-Office365-Filtering-HT": "Tenant",
        "X-Forefront-Antispam-Report": "CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI;\n\tSFV:NSPM;\n\tSFS:(10009020)(6009001)(39860400002)(2980300002)(438002)(199003)(189002)(2906002)(33646002)(63266004)(2351001)(77096006)(106466001)(8676002)(118296001)(189998001)(50986999)(50466002)(5003940100001)(76176999)(48376002)(50226002)(81166006)(81156014)(47776003)(8936002)(36756003)(36386004)(9786002)(478600001)(6916009)(2950100002)(54906002)(356003)(7416002)(6666003)(5660300001)(305945005)(110136004)(4326008)(39060400002)(107986001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR02MB1129; H:xsj-pvapsmtpgw01;\n\tFPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en;",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; SN1NAM02FT057;\n\t1:mk9OaqAaB0nwFKxMHwbPiAaoeFTA3srhdMBK+0p+kzPS6YklxoKcnhGg6Zjihb4Z5Z9zNX/bwU6jU4vTWo5+vluUM2Masm7QbIT/IfhR4s/53/ZqcYQDVOmpndRNHqyF",
            "1; BY1PR02MB1129;\n\t3:UpCkVf7g8pF3kTl4Pc8To9w8ci8wagh8vdFUj0vboT/kz3aEIyH0FRn+wQt5cZC34tNg6p8Wbf4BuZWiZsNSR9M19a2YCaLtpt9H3QVzAY3ETIvSKn+ncuJpdodbx9px5dUM6OSEaSOPKJb6Ak35dz/1+q+vzv3ODMg09zG3jZriZyZjrNCVc+MYCOQDgxxBHAQ6dFGWSJs9lM+VLARy/e6XaoUKTpNXHg4zBl9ZDuWVmRrm/p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fSZrbNi9OJwef3ofUbM+lcXAQ==;\n\t24:a+x548I+z72HUYh5h2xBTen3bWapOTjNb6q9qENwfX2P8nyYzzIcmRyxlmbQif4u7ZPn2RqESI26fKk+AoihQmNQJa0ln0/H4o4dQ+C1Br0=;\n\t7:1gm81X4FkAzwhZxeIS8N0RuRkG4O+NXHHdwOQP+LFP+G82uXUPruPpA2eioPZXDSv4enoCGioOl+VqZ6/EDcZGHShRA6hfERrbQcWAe26mEFmCDyT8NYDOKz+fvwMtkingeZflgBHKPHgOjkKF8HHXyKkV3Q/kk2esGEs/+yxOLktNdYfeCF3hnjSDBCA0uBheLZJ1IDOYQvvrHqcwxMjSYK60TSnzJ9tEKD37Vz0GU="
        ],
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "36643dc2-b171-4a63-ec6e-08d4f94f3083",
        "X-Microsoft-Antispam": "UriScan:; BCL:0; PCL:0;\n\tRULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);\n\tSRVR:BY1PR02MB1129; ",
        "X-MS-TrafficTypeDiagnostic": "BY1PR02MB1129:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(190383065149520)(192813158149592)(104084551191319); ",
        "X-Microsoft-Antispam-PRVS": "<BY1PR02MB1129B9AC5E9909E2BBEE80C1DC680@BY1PR02MB1129.namprd02.prod.outlook.com>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(93006095)(93004095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123562025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:BY1PR02MB1129; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:BY1PR02MB1129; ",
        "X-Forefront-PRVS": "04270EF89C",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-OriginatorOrg": "xilinx.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "11 Sep 2017 19:56:27.2923\n\t(UTC)",
        "X-MS-Exchange-CrossTenant-Id": "657af505-d5df-48d0-8300-c31994686c5c",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "TenantId=657af505-d5df-48d0-8300-c31994686c5c; \n\tIp=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01]",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "BY1PR02MB1129",
        "X-detected-operating-system": "by eggs.gnu.org: Windows 7 or 8 [fuzzy]",
        "X-Received-From": "104.47.33.75",
        "Subject": "[Qemu-devel] [PATCH v4 2/8] Convert remaining error_report() to\n\twarn_report()",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "<qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Cc": "Kevin Wolf <kwolf@redhat.com>, Alexander Graf <agraf@suse.de>,\n\tCornelia Huck <cohuck@redhat.com>, armbru@redhat.com,\n\tMax Reitz <mreitz@redhat.com>,\n\tChristian Borntraeger <borntraeger@de.ibm.com>,\n\tStefan Hajnoczi <stefanha@redhat.com>, pbonzini@redhat.com,\n\talistair23@gmail.com, alistair.francis@xilinx.com,\n\tRichard Henderson <rth@twiddle.net>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"
    },
    "content": "In a previous patch (3dc6f8693694a649a9c83f1e2746565b47683923) we\nconverted uses of error_report(\"warning:\"... to use warn_report()\ninstead. This was to help standardise on a single method of printing\nwarnings to the user.\n\nThere appears to have been some cases that slipped through in patch sets\napplied around the same time, this patch catches the few remaining\ncases.\n\nAll of the warnings were changed using this command:\n  find ./* -type f -exec sed -i \\\n    's|error_report(\".*warning[,:] |warn_report(\"|Ig' {} +\n\nIndentation fixed up manually afterwards.\n\nTwo messages were manually fixed up as well.\n\nSigned-off-by: Alistair Francis <alistair.francis@xilinx.com>\nCc: Kevin Wolf <kwolf@redhat.com>\nCc: Max Reitz <mreitz@redhat.com>\nCc: Christian Borntraeger <borntraeger@de.ibm.com>\nCc: Cornelia Huck <cohuck@redhat.com>\nCc: Alexander Graf <agraf@suse.de>\nCc: Richard Henderson <rth@twiddle.net>\nCc: Stefan Hajnoczi <stefanha@redhat.com>\nAcked-by: Cornelia Huck <cohuck@redhat.com>\nReviewed-by: Markus Armbruster <armbru@redhat.com>\n---\n\n block/qcow2.c      | 9 +++++----\n target/s390x/kvm.c | 4 ++--\n trace/control.c    | 4 ++--\n 3 files changed, 9 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/block/qcow2.c b/block/qcow2.c\nindex bae5893327..d33fb3ecdd 100644\n--- a/block/qcow2.c\n+++ b/block/qcow2.c\n@@ -301,10 +301,11 @@ static int qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset,\n             }\n \n             if (!(s->autoclear_features & QCOW2_AUTOCLEAR_BITMAPS)) {\n-                error_report(\"WARNING: a program lacking bitmap support \"\n-                             \"modified this file, so all bitmaps are now \"\n-                             \"considered inconsistent. Some clusters may be \"\n-                             \"leaked, run 'qemu-img check -r' on the image \"\n+                warn_report(\"a program lacking bitmap support \"\n+                            \"modified this file, so all bitmaps are now \"\n+                            \"considered inconsistent\");\n+                error_printf(\"Some clusters may be leaked, \"\n+                             \"run 'qemu-img check -r' on the image \"\n                              \"file to fix.\");\n                 if (need_update_header != NULL) {\n                     /* Updating is needed to drop invalid bitmap extension. */\ndiff --git a/target/s390x/kvm.c b/target/s390x/kvm.c\nindex d07763ff2c..ad7ce9fc70 100644\n--- a/target/s390x/kvm.c\n+++ b/target/s390x/kvm.c\n@@ -224,8 +224,8 @@ static void kvm_s390_enable_cmma(void)\n     };\n \n     if (mem_path) {\n-        error_report(\"Warning: CMM will not be enabled because it is not \"\n-                     \"compatible to hugetlbfs.\");\n+        warn_report(\"CMM will not be enabled because it is not \"\n+                    \"compatible with hugetlbfs.\");\n         return;\n     }\n     rc = kvm_vm_ioctl(kvm_state, KVM_SET_DEVICE_ATTR, &attr);\ndiff --git a/trace/control.c b/trace/control.c\nindex 82d8989c4d..2769934bec 100644\n--- a/trace/control.c\n+++ b/trace/control.c\n@@ -72,8 +72,8 @@ void trace_event_register_group(TraceEvent **events)\n         if (likely(next_vcpu_id < CPU_TRACE_DSTATE_MAX_EVENTS)) {\n             events[i]->vcpu_id = next_vcpu_id++;\n         } else {\n-            error_report(\"WARNING: too many vcpu trace events; dropping '%s'\",\n-                         events[i]->name);\n+            warn_report(\"too many vcpu trace events; dropping '%s'\",\n+                        events[i]->name);\n         }\n     }\n     event_groups = g_renew(TraceEventGroup, event_groups, nevent_groups + 1);\n",
    "prefixes": [
        "v4",
        "2/8"
    ]
}