get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2080616,
    "url": "http://patchwork.ozlabs.org/api/patches/2080616/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20250503075858.277375-9-pbonzini@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": "<20250503075858.277375-9-pbonzini@redhat.com>",
    "list_archive_url": null,
    "date": "2025-05-03T07:58:53",
    "name": "[PULL,08/13] target/i386/hvf: fix a compilation error",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "117d5f05cf12e2189a23e6408de28804bc354836",
    "submitter": {
        "id": 2701,
        "url": "http://patchwork.ozlabs.org/api/people/2701/?format=api",
        "name": "Paolo Bonzini",
        "email": "pbonzini@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20250503075858.277375-9-pbonzini@redhat.com/mbox/",
    "series": [
        {
            "id": 455199,
            "url": "http://patchwork.ozlabs.org/api/series/455199/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=455199",
            "date": "2025-05-03T07:58:51",
            "name": "[PULL,01/13] rust/vmstate: Add support for field_exists checks",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/455199/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2080616/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2080616/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=gsZ8GXzd;\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 4ZqKxy1tBSz1yMf\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  3 May 2025 18:01:58 +1000 (AEST)",
            "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 1uB7mb-00088U-9u; Sat, 03 May 2025 03:59:37 -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 <pbonzini@redhat.com>)\n id 1uB7mT-00086E-KZ\n for qemu-devel@nongnu.org; Sat, 03 May 2025 03:59:29 -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 <pbonzini@redhat.com>)\n id 1uB7mQ-0006fl-Uu\n for qemu-devel@nongnu.org; Sat, 03 May 2025 03:59:29 -0400",
            "from mail-wm1-f70.google.com (mail-wm1-f70.google.com\n [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-491-AnNq3tUXODysBM-GUzQVvg-1; Sat, 03 May 2025 03:59:24 -0400",
            "by mail-wm1-f70.google.com with SMTP id\n 5b1f17b1804b1-43ce8f82e66so13604625e9.3\n for <qemu-devel@nongnu.org>; Sat, 03 May 2025 00:59:24 -0700 (PDT)",
            "from [192.168.10.48] ([151.95.54.106])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-441b89cc67fsm68173425e9.5.2025.05.03.00.59.20\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 03 May 2025 00:59:20 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1746259166;\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=BGFUgCwnObUQrsqI5z/bsk7l8Vga318bTFC9U7szmG0=;\n b=gsZ8GXzdAuPeUhhqTv56US3SVNHCYPI4gIv0CQzzYGuG6tRAo3f8R5lT1RQWCcOxFG9GeZ\n iPlDkIdfKcHr0B6bur6Nd+vNsP5VjFB4Z8C98hnAjFWPwa7FFApkfTnLWUWxSzLfinoNm4\n zKep4rEM3U74/wBWSsXuZanYcaLA/xU=",
        "X-MC-Unique": "AnNq3tUXODysBM-GUzQVvg-1",
        "X-Mimecast-MFC-AGG-ID": "AnNq3tUXODysBM-GUzQVvg_1746259163",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1746259162; x=1746863962;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=BGFUgCwnObUQrsqI5z/bsk7l8Vga318bTFC9U7szmG0=;\n b=J6UftWqJ9xgka75f7aIAGsKrsOaS2iS04H2X0VumnCGHPvUsvmYbX6rYW2FEoH1UhH\n TMPCDCQ2xCjullJ0sc2X2TlwHLlA1pdRZsSsHAGyXo/7qsvQ6Hfq8pF6u3Ac1J+kmttr\n HnP1hi/PNJAGlGPv9NrowWMLk9K6KkE2GTWpMRvi1lJ6lpqXrnAOc/YkdWSSCckhw/Wa\n N+hOKeI0uOUctB81nA1CsIM2alk4+Pcue6ojmeTsCxv2tr6TQdatBwqjONABqh/cYV8V\n YV8N85sFfy8Tspzg90pygUa+2wtrsbGs6dgqgnxx1Pf2/aVIwsPVBOKMv1h49kTFkgMM\n 2alg==",
        "X-Gm-Message-State": "AOJu0YzkPx54kreDqHqUlAj5uQN3pbLcYz9LbboSelSQatMFQ7NUyDdC\n POFsih1abJIxLCKZ4yEZK2XOy0CjAcr8UHXYeCZKfn73j4jfURfQbJQbOo+5jUEZlA7VzzlF4ky\n MAH7QlPBSY9cf4CJS6v5mLeD+jxhhNOIA2A5mmZ+QbI8kIoG90HoyWGBP3u85p72wGA/8319lrD\n KIjTVoxUEeAFV+PqGZfPsjXALHQ8T89clJMyk3",
        "X-Gm-Gg": "ASbGncueqiOEb6J1J7+53XxMeS/O9hv0Uj58RHrC4TjiCyQkdQCVc99J0f7wOsOsrUQ\n 4nzMMve3QlLFF9fG9eTlCwwWxbNLzXHMvM8M5OOSYLJShtQHhQZcGm2iq/RzzJrd+4K0cGNrtNj\n SXlUvrGVaZ0f8g2G5sjYxMDSrJggaPmF/ojJbBqxmCsq7HAfu2hpHrwlBmqOUng6vjnNhU5ofte\n JZ2eAiwE+FknIOefq62WWl1AGzwzFpvuku9WIpf6GP1LwsJnnCX4t1b/BWj+iGcGVq2GqBIrNcL\n Ktn4z/yQB68vYiU=",
        "X-Received": [
            "by 2002:a05:600c:1d9e:b0:43c:eec7:eabb with SMTP id\n 5b1f17b1804b1-441c48bc8f0mr1882495e9.8.1746259162697;\n Sat, 03 May 2025 00:59:22 -0700 (PDT)",
            "by 2002:a05:600c:1d9e:b0:43c:eec7:eabb with SMTP id\n 5b1f17b1804b1-441c48bc8f0mr1882315e9.8.1746259162290;\n Sat, 03 May 2025 00:59:22 -0700 (PDT)"
        ],
        "X-Google-Smtp-Source": "\n AGHT+IFwfvoGrDDxN0DgZiHxq8l6Alli1lseb0D7OcNZdPslH725XvhomroVnSfd4jFgSFyawe5vlQ==",
        "From": "Paolo Bonzini <pbonzini@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Wei Liu <wei.liu@kernel.org>",
        "Subject": "[PULL 08/13] target/i386/hvf: fix a compilation error",
        "Date": "Sat,  3 May 2025 09:58:53 +0200",
        "Message-ID": "<20250503075858.277375-9-pbonzini@redhat.com>",
        "X-Mailer": "git-send-email 2.49.0",
        "In-Reply-To": "<20250503075858.277375-1-pbonzini@redhat.com>",
        "References": "<20250503075858.277375-1-pbonzini@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.129.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-26",
        "X-Spam_score": "-2.7",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.644,\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_H5=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_NONE=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-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: Wei Liu <wei.liu@kernel.org>\n\nInclude exec/target_page.h to fix the following build error.\n\nx86_64-softmmu.a.p/target_i386_hvf_hvf.c.o -c ../target/i386/hvf/hvf.c\n../target/i386/hvf/hvf.c:139:49: error: use of undeclared identifier 'TARGET_PAGE_SIZE'\n  139 |             uint64_t dirty_page_start = gpa & ~(TARGET_PAGE_SIZE - 1u);\n      |                                                 ^\n../target/i386/hvf/hvf.c:141:45: error: use of undeclared identifier 'TARGET_PAGE_SIZE'\n  141 |             hv_vm_protect(dirty_page_start, TARGET_PAGE_SIZE,\n      |                                             ^\n\nSigned-off-by: Wei Liu <wei.liu@kernel.org>\nLink: https://lore.kernel.org/r/aBBws1ikCDfyC0RI@liuwe-devbox-ubuntu-v2.tail21d00.ts.net\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n target/i386/hvf/hvf.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c\nindex 23ebf2550ac..99e37a33e50 100644\n--- a/target/i386/hvf/hvf.c\n+++ b/target/i386/hvf/hvf.c\n@@ -76,6 +76,7 @@\n #include \"qemu/main-loop.h\"\n #include \"qemu/accel.h\"\n #include \"target/i386/cpu.h\"\n+#include \"exec/target_page.h\"\n \n static Error *invtsc_mig_blocker;\n \n",
    "prefixes": [
        "PULL",
        "08/13"
    ]
}