get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 812578,
    "url": "http://patchwork.ozlabs.org/api/patches/812578/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/f5441f63f6527c38a198ae566823238bb92bc489.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": "<f5441f63f6527c38a198ae566823238bb92bc489.1505158760.git.alistair.francis@xilinx.com>",
    "list_archive_url": null,
    "date": "2017-09-11T19:53:02",
    "name": "[v4,7/8] Makefile: Remove libqemustub.a",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6c5326cc08a062ad8d9c99000d50d69c0b411275",
    "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/f5441f63f6527c38a198ae566823238bb92bc489.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/812578/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/812578/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=\"DCPeutxr\"; \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 3xrf5B2Fgkz9s0Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 12 Sep 2017 06:03:58 +1000 (AEST)",
            "from localhost ([::1]:60265 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 1drUw0-0003xY-FF\n\tfor incoming@patchwork.ozlabs.org; Mon, 11 Sep 2017 16:03:56 -0400",
            "from eggs.gnu.org ([2001:4830:134:3::10]:40024)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUpE-0006JV-5W\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:57:00 -0400",
            "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <alistai@xilinx.com>) id 1drUpA-0002KK-7M\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:56 -0400",
            "from mail-by2nam03on0078.outbound.protection.outlook.com\n\t([104.47.42.78]:23232\n\thelo=NAM03-BY2-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 1drUp9-0002Ji-SM\n\tfor qemu-devel@nongnu.org; Mon, 11 Sep 2017 15:56:52 -0400",
            "from CY4PR02CA0028.namprd02.prod.outlook.com (10.175.57.142) by\n\tBN3PR02MB1126.namprd02.prod.outlook.com (10.162.168.144) with\n\tMicrosoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id\n\t15.20.35.12; Mon, 11 Sep 2017 19:56:49 +0000",
            "from CY1NAM02FT055.eop-nam02.prod.protection.outlook.com\n\t(2a01:111:f400:7e45::209) by CY4PR02CA0028.outlook.office365.com\n\t(2603:10b6:903:117::14) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.8 via\n\tFrontend Transport; Mon, 11 Sep 2017 19:56:48 +0000",
            "from xsj-pvapsmtpgw01 (149.199.60.83) by\n\tCY1NAM02FT055.mail.protection.outlook.com (10.152.74.80) 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:48 +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 1drUp5-0000Ix-KZ; Mon, 11 Sep 2017 12:56:47 -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 1drUp5-00005y-G2; Mon, 11 Sep 2017 12:56:47 -0700",
            "from xsj-pvapsmtp01 (smtp2.xilinx.com [149.199.38.66])\n\tby xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id\n\tv8BJubQt017539; Mon, 11 Sep 2017 12:56:37 -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 1drUov-000055-Cy; Mon, 11 Sep 2017 12:56:37 -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=WkoXh+C6Y2peglX/yappldaH2L/CQB7rjhPI52qehCM=;\n\tb=DCPeutxrpiVussnPs8W9fXKKUNvPPYK/wkylAO83QPQrBAqwBZgUElHL9JQwfaUA+2cgviPbQQIiM9AHoPZ/f9kvnIL80lBFw8VL6g46dXLlgrlp8LfHXr/MJz3PpiPM3VLc560NRuYIO6/a1k69PTA7O4FUl1w7tf1k/l09AeM=",
        "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:53:02 -0700",
        "Message-ID": "<f5441f63f6527c38a198ae566823238bb92bc489.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>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "quoted-printable",
        "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)(2980300002)(438002)(189002)(199003)(8936002)(8676002)(9786002)(50226002)(2906002)(81156014)(81166006)(478600001)(50466002)(2870700001)(36756003)(36386004)(5820100001)(189998001)(118296001)(33646002)(54906002)(106466001)(2351001)(47776003)(4326008)(110136004)(39060400002)(305945005)(76176999)(5660300001)(6666003)(6916009)(23676002)(356003)(63266004)(2950100002)(77096006)(50986999)(107986001);\n\tDIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR02MB1126; H:xsj-pvapsmtpgw01;\n\tFPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; MX:1; A:1; LANG:en;",
        "X-Microsoft-Exchange-Diagnostics": [
            "1; CY1NAM02FT055;\n\t1:W65NMV6DukhdJfhTGD1CIIi5hhlfk+Bg1vLrsdz1/MKw8eE3vaL7pYffgaOQvL1HCfyRTWZhHVjY9fbkEC2yX9UsPK0JiLEDOkRkk8xnWoFIMTtfzPsfgf7KvFO2EWz3",
            "1; BN3PR02MB1126;\n\t3:r/dbJqwdPnFg5dfg1ehQ/e79G58ZSFd11AUVIO/DOvyutKmBZbCE3q56j9MJbCmzAWhyu2z7JaDwXvF9Exd6mVyV9fo9x+nIpeEWD3+dMNgamGCVySgCBI4h4kWjE+GkNEi9J4evlWVrnrHCjBoIwphgP21LX6bJRFbj7NPdIxPuywwyLWy2lCLpKSO01zPrkzogqT8r0HBwPY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jXDrBlP6rtWL8GkQ3Eo8/sJ6a+dLP6lF6nx1mtNxwK89kNtfBwirdsRom+vYaYtvf4pwA=;\n\t7:xpe+PxxM1w5xYHja6XRpsW5Ixx4QCIJq7N6oZaq7u0bgoRYZHBOf/jrErC6wV+kDX5vxzeyYui5PJj7An+l5sz9blIhhb7JHfKjT5gncO6OB+aSjHfI8zknE5Uu4VSubxEiFjlwIALxOpnjEST56EfR5YvpEqk8uwCC+MSbY8RW+lJM/h2am3rvTbRR5uxicrmomNa8W3Y7/Uy+G4duKJTXSNkeQzhu6YZjm9BdFIf4="
        ],
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "879489c6-146f-45ea-7222-08d4f94f3cd2",
        "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:BN3PR02MB1126; ",
        "X-MS-TrafficTypeDiagnostic": "BN3PR02MB1126:",
        "X-Exchange-Antispam-Report-Test": "UriScan:(192813158149592);",
        "X-Microsoft-Antispam-PRVS": "<BN3PR02MB112637B6058996180671DB1EDC680@BN3PR02MB1126.namprd02.prod.outlook.com>",
        "X-Exchange-Antispam-Report-CFA-Test": "BCL:0; PCL:0;\n\tRULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);\n\tSRVR:BN3PR02MB1126; BCL:0; PCL:0;\n\tRULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);\n\tSRVR:BN3PR02MB1126; ",
        "X-Forefront-PRVS": "04270EF89C",
        "SpamDiagnosticOutput": "1:99",
        "SpamDiagnosticMetadata": "NSPM",
        "X-OriginatorOrg": "xilinx.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "11 Sep 2017 19:56:48.0646\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": "BN3PR02MB1126",
        "X-detected-operating-system": "by eggs.gnu.org: Windows 7 or 8 [fuzzy]",
        "X-Received-From": "104.47.42.78",
        "Subject": "[Qemu-devel] [PATCH v4 7/8] Makefile: Remove libqemustub.a",
        "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": "alistair23@gmail.com, pbonzini@redhat.com, armbru@redhat.com,\n\talistair.francis@xilinx.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": "Using two libraries (libqemuutil.a and libqemustub.a) would sometimes\nresult in circular dependencies. To avoid these issues let's just\ncombine both into a single library that functions as both.\n\nSigned-off-by: Alistair Francis <alistair.francis@xilinx.com>\nReviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n\nV3:\n - Fix up the docs\n - Rebase into this series\nV2:\n - Skipped\n\n Makefile                    |  7 +++----\n Makefile.target             |  2 +-\n docs/devel/build-system.txt | 16 +++++++---------\n tests/Makefile.include      |  6 +++---\n 4 files changed, 14 insertions(+), 17 deletions(-)",
    "diff": "diff --git a/Makefile b/Makefile\nindex 337a1f6f9b..8f1273a159 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -344,7 +344,7 @@ subdir-dtc:dtc/libfdt dtc/tests\n dtc/%:\n \tmkdir -p $@\n \n-$(SUBDIR_RULES): libqemuutil.a libqemustub.a $(common-obj-y) $(chardev-obj-y) \\\n+$(SUBDIR_RULES): libqemuutil.a $(common-obj-y) $(chardev-obj-y) \\\n \t$(qom-obj-y) $(crypto-aes-obj-$(CONFIG_USER_ONLY))\n \n ROMSUBDIR_RULES=$(patsubst %,romsubdir-%, $(ROMS))\n@@ -364,12 +364,11 @@ Makefile: $(version-obj-y)\n ######################################################################\n # Build libraries\n \n-libqemustub.a: $(stub-obj-y)\n-libqemuutil.a: $(util-obj-y) $(trace-obj-y)\n+libqemuutil.a: $(util-obj-y) $(trace-obj-y) $(stub-obj-y)\n \n ######################################################################\n \n-COMMON_LDADDS = libqemuutil.a libqemustub.a\n+COMMON_LDADDS = libqemuutil.a\n \n qemu-img.o: qemu-img-cmds.h\n \ndiff --git a/Makefile.target b/Makefile.target\nindex 7f42c45db8..0a80caf79c 100644\n--- a/Makefile.target\n+++ b/Makefile.target\n@@ -193,7 +193,7 @@ all-obj-$(CONFIG_SOFTMMU) += $(io-obj-y)\n \n $(QEMU_PROG_BUILD): config-devices.mak\n \n-COMMON_LDADDS = ../libqemuutil.a ../libqemustub.a\n+COMMON_LDADDS = ../libqemuutil.a\n \n # build either PROG or PROGW\n $(QEMU_PROG_BUILD): $(all-obj-y) $(COMMON_LDADDS)\ndiff --git a/docs/devel/build-system.txt b/docs/devel/build-system.txt\nindex 2af1e668c5..0d54294cb1 100644\n--- a/docs/devel/build-system.txt\n+++ b/docs/devel/build-system.txt\n@@ -232,15 +232,13 @@ The utility code that is used by all binaries is built into a\n static archive called libqemuutil.a, which is then linked to all the\n binaries. In order to provide hooks that are only needed by some of the\n binaries, code in libqemuutil.a may depend on other functions that are\n-not fully implemented by all QEMU binaries. To deal with this there is a\n-second library called libqemustub.a which provides dummy stubs for all\n-these functions. These will get lazy linked into the binary if the real\n-implementation is not present. In this way, the libqemustub.a static\n-library can be thought of as a portable implementation of the weak\n-symbols concept. All binaries should link to both libqemuutil.a and\n-libqemustub.a. e.g.\n-\n- qemu-img$(EXESUF): qemu-img.o ..snip.. libqemuutil.a libqemustub.a\n+not fully implemented by all QEMU binaries. Dummy stubs for all  these\n+functions are also provided by this library, and will get lazy linked\n+into the binary if the real implementation is not present. In this way,\n+this static library can be thought of as a portable implementation of\n+the weak symbols concept. All binaries should link to libqemuutil.a. e.g.\n+\n+ qemu-img$(EXESUF): qemu-img.o ..snip.. libqemuutil.a\n \n \n Windows platform portability\ndiff --git a/tests/Makefile.include b/tests/Makefile.include\nindex fae5715e9c..3d6726e95c 100644\n--- a/tests/Makefile.include\n+++ b/tests/Makefile.include\n@@ -561,7 +561,7 @@ QEMU_CFLAGS += -I$(SRC_PATH)/tests\n \n \n # Deps that are common to various different sets of tests below\n-test-util-obj-y = libqemuutil.a libqemustub.a\n+test-util-obj-y = libqemuutil.a\n test-qom-obj-y = $(qom-obj-y) $(test-util-obj-y)\n test-qapi-obj-y = tests/test-qapi-visit.o tests/test-qapi-types.o \\\n \ttests/test-qapi-event.o tests/test-qmp-introspect.o \\\n@@ -617,8 +617,8 @@ tests/test-vmstate$(EXESUF): tests/test-vmstate.o \\\n \t$(test-io-obj-y)\n tests/test-timed-average$(EXESUF): tests/test-timed-average.o $(test-util-obj-y)\n tests/test-base64$(EXESUF): tests/test-base64.o \\\n-\tlibqemuutil.a libqemustub.a\n-tests/ptimer-test$(EXESUF): tests/ptimer-test.o tests/ptimer-test-stubs.o hw/core/ptimer.o libqemustub.a\n+\tlibqemuutil.a\n+tests/ptimer-test$(EXESUF): tests/ptimer-test.o tests/ptimer-test-stubs.o hw/core/ptimer.o $(test-util-obj-y)\n \n tests/test-logging$(EXESUF): tests/test-logging.o $(test-util-obj-y)\n \n",
    "prefixes": [
        "v4",
        "7/8"
    ]
}