get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815703,
    "url": "http://patchwork.ozlabs.org/api/patches/815703/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1505839684-10046-4-git-send-email-a.perevalov@samsung.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": "<1505839684-10046-4-git-send-email-a.perevalov@samsung.com>",
    "list_archive_url": null,
    "date": "2017-09-19T16:47:57",
    "name": "[v10,03/10] migration: fix hardcoded function name in error report",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "faf2686d914d7fa7d16b58bc4c6a4a9e05e852fa",
    "submitter": {
        "id": 18164,
        "url": "http://patchwork.ozlabs.org/api/people/18164/?format=api",
        "name": "Alexey Perevalov",
        "email": "a.perevalov@samsung.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/1505839684-10046-4-git-send-email-a.perevalov@samsung.com/mbox/",
    "series": [
        {
            "id": 3930,
            "url": "http://patchwork.ozlabs.org/api/series/3930/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=3930",
            "date": "2017-09-19T16:48:03",
            "name": "calculate blocktime for postcopy live migration",
            "version": 10,
            "mbox": "http://patchwork.ozlabs.org/series/3930/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815703/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815703/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>)",
        "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 3xxV2D17zDz9ryr\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 20 Sep 2017 03:18:12 +1000 (AEST)",
            "from localhost ([::1]:44232 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 1duM9y-0001yW-36\n\tfor incoming@patchwork.ozlabs.org; Tue, 19 Sep 2017 13:18:10 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:42437)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <a.perevalov@samsung.com>) id 1duLhE-0001CY-RB\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 12:48:32 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <a.perevalov@samsung.com>) id 1duLhB-0006OK-Vt\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 12:48:28 -0400",
            "from mailout2.w1.samsung.com ([210.118.77.12]:46472)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <a.perevalov@samsung.com>)\n\tid 1duLhB-0006Ma-PY\n\tfor qemu-devel@nongnu.org; Tue, 19 Sep 2017 12:48:25 -0400",
            "from eucas1p1.samsung.com (unknown [182.198.249.206])\n\tby mailout2.w1.samsung.com (KnoxPortal) with ESMTP id\n\t20170919164823euoutp02801a3dc47eabd0fae71851e5dfbc190a~l0TtyBt1M2806628066euoutp021;\n\tTue, 19 Sep 2017 16:48:23 +0000 (GMT)",
            "from eusmges2.samsung.com (unknown [203.254.199.241]) by\n\teucas1p1.samsung.com (KnoxPortal) with ESMTP id\n\t20170919164822eucas1p14708956579ec0674f7f4eb201386239e~l0TtHpjLc3069830698eucas1p1A;\n\tTue, 19 Sep 2017 16:48:22 +0000 (GMT)",
            "from eucas1p2.samsung.com ( [182.198.249.207]) by\n\teusmges2.samsung.com (EUCPMTA) with SMTP id C8.6F.12907.65A41C95;\n\tTue, 19 Sep 2017 17:48:22 +0100 (BST)",
            "from eusmgms2.samsung.com (unknown [182.198.249.180]) by\n\teucas1p2.samsung.com (KnoxPortal) with ESMTP id\n\t20170919164822eucas1p2e2b1f9bbf32fdb171a8db1e6d75941ef~l0TsZa9892073720737eucas1p2g;\n\tTue, 19 Sep 2017 16:48:22 +0000 (GMT)",
            "from eusync1.samsung.com ( [203.254.199.211]) by\n\teusmgms2.samsung.com (EUCPMTA) with SMTP id 34.6C.20118.65A41C95;\n\tTue, 19 Sep 2017 17:48:22 +0100 (BST)",
            "from aperevalov-ubuntu.rnd.samsung.ru ([106.109.129.199]) by\n\teusync1.samsung.com (Oracle Communications Messaging Server\n\t7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id\n\t<0OWJ003OHDC8XU40@eusync1.samsung.com>; \n\tTue, 19 Sep 2017 17:48:22 +0100 (BST)"
        ],
        "X-AuditID": "cbfec7f1-f793a6d00000326b-35-59c14a56f855",
        "From": "Alexey Perevalov <a.perevalov@samsung.com>",
        "To": "qemu-devel@nongnu.org",
        "Date": "Tue, 19 Sep 2017 19:47:57 +0300",
        "Message-id": "<1505839684-10046-4-git-send-email-a.perevalov@samsung.com>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-reply-to": "<1505839684-10046-1-git-send-email-a.perevalov@samsung.com>",
        "X-Brightmail-Tracker": [
            "H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsWy7djP87phXgcjDVa2alvMvXuexaJ32z12\n\ti4lv17NaTPt8m93iSvtPdost+7+xWxzv3cFicWdLH5MDh8eTa5uZPN7vu8rm0bdlFWMAcxSX\n\tTUpqTmZZapG+XQJXRnNfJ3PBebaK5+cvszYwLmftYuTkkBAwkZi8fxI7hC0mceHeerYuRi4O\n\tIYGljBKnFm5nA0kICXxmlNj3zgem4enJ+1BFyxglLk1fxQzhdDNJTD27namLkYODTcBAYt89\n\tW5AGEQFJid9dp8FqmAW2MErcufeaFaRGWCBYYtJMBZAaFgFVidbD31hAwrwC7hKdE6shdslJ\n\tnDw2GexQTgEPiVvH17KDjJEQ6GGT+HVhE9QHLhJ9nzuZIGxhiVfHt0B9IyNxeXI3C0RDO6NE\n\t985OVghnAqPEmel/oarsJU7dvArWzSzAJzFp23RmkCskBHglOtqEIEo8JF7/v8IGYTtKbDsy\n\tiQni4dmMEp/mrGKcwCi9gJFhFaNIamlxbnpqsZFecWJucWleul5yfu4mRmCEnv53/OMOxvcn\n\trA4xCnAwKvHwrrA5GCnEmlhWXJl7iFGCg1lJhPe1E1CINyWxsiq1KD++qDQntfgQozQHi5I4\n\tr21UW6SQQHpiSWp2ampBahFMlomDU6qBUWzqk1MNkUc268gXTm1dXXNN/KNgl++pb+dPhdaq\n\tbdNPWTzHmfH6db6ga29cptevXJOXpjdlQcKplNyaDYE1sy7l/zkab2jromV2zaWI8dNLw79M\n\tuf7enUuiJ8zyS/v/Jj7/Lv+2V9Z/kytlFzNc+7lZ6+aV+GmzDMsNTuZ9b36aV+zGezMzToml\n\tOCPRUIu5qDgRAI6fE2LMAgAA",
            "H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Zd0wr4ORBpdOclrMvXuexaJ32z12\n\ti4lv17NaTPt8m93iSvtPdost+7+xWxzv3cFicWdLH5MDh8eTa5uZPN7vu8rm0bdlFWMAcxSX\n\tTUpqTmZZapG+XQJXRnNfJ3PBebaK5+cvszYwLmftYuTkkBAwkXh68j4bhC0mceHeeiCbi0NI\n\tYAmjxN4Fj9ghnF4miYtbXjF2MXJwsAkYSOy7ZwvSICIgKfG76zQzSA2zwBZGiY3HV4LVCAsE\n\tS0yaqQBSwyKgKtF6+BsLSJhXwF2ic2I1xC45iZPHJoPdwCngIXHr+Fp2EFsIqOTG2utMExh5\n\tFzAyrGIUSS0tzk3PLTbSK07MLS7NS9dLzs/dxAgMpG3Hfm7Zwdj1LvgQowAHoxIP7wqbg5FC\n\trIllxZW5hxglOJiVRHhfOwGFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8/buWR0pJJCeWJKanZpa\n\tkFoEk2Xi4JRqYEx3S3V6usjOcMG7PY2fJx81bry0+dHiRb/2tCVueH5uq71p15Ejp7tKGBNV\n\tst80brrj6bqASUCbJXV+s7aDmNvFz89nSrjff8qoaWNxO2xh3CGJ96dLH/F6fitY6i/ouuxD\n\te/XVb/N3bVN027jd7VHKw/3RH2Vi6u6dmX4vvIvFSeDFlox1lXuUWIozEg21mIuKEwGMr2hE\n\tIAIAAA=="
        ],
        "X-CMS-MailID": "20170919164822eucas1p2e2b1f9bbf32fdb171a8db1e6d75941ef",
        "X-Msg-Generator": "CA",
        "X-Sender-IP": "182.198.249.180",
        "X-Local-Sender": "=?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1B?=\n\t=?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBFbmdpbmVlcg==?=",
        "X-Global-Sender": "=?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1BSa?=\n\t=?utf-8?q?msung_Electronics=1BSenior_Engineer?=",
        "X-Sender-Code": "=?utf-8?q?C10=1BCISHQ=1BC10GD01GD010154?=",
        "CMS-TYPE": "201P",
        "X-CMS-RootMailID": "20170919164822eucas1p2e2b1f9bbf32fdb171a8db1e6d75941ef",
        "X-RootMTR": "20170919164822eucas1p2e2b1f9bbf32fdb171a8db1e6d75941ef",
        "References": "<1505839684-10046-1-git-send-email-a.perevalov@samsung.com>\n\t<CGME20170919164822eucas1p2e2b1f9bbf32fdb171a8db1e6d75941ef@eucas1p2.samsung.com>",
        "X-detected-operating-system": "by eggs.gnu.org: GNU/Linux 3.x [fuzzy]",
        "X-Received-From": "210.118.77.12",
        "Subject": "[Qemu-devel] [PATCH v10 03/10] migration: fix hardcoded function\n\tname in error 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": "heetae82.ahn@samsung.com, quintela@redhat.com,\n\tAlexey Perevalov <a.perevalov@samsung.com>, peterx@redhat.com,\n\tdgilbert@redhat.com, i.maximets@samsung.com",
        "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": "Reviewed-by: Juan Quintela <quintela@redhat.com>\nReviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>\nSigned-off-by: Alexey Perevalov <a.perevalov@samsung.com>\n---\n migration/postcopy-ram.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/migration/postcopy-ram.c b/migration/postcopy-ram.c\nindex 4350dd0..a0e74db 100644\n--- a/migration/postcopy-ram.c\n+++ b/migration/postcopy-ram.c\n@@ -69,7 +69,7 @@ static bool ufd_version_check(int ufd, MigrationIncomingState *mis)\n     api_struct.api = UFFD_API;\n     api_struct.features = 0;\n     if (ioctl(ufd, UFFDIO_API, &api_struct)) {\n-        error_report(\"postcopy_ram_supported_by_host: UFFDIO_API failed: %s\",\n+        error_report(\"%s: UFFDIO_API failed: %s\", __func__,\n                      strerror(errno));\n         return false;\n     }\n",
    "prefixes": [
        "v10",
        "03/10"
    ]
}