get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222901,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2222901/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414003001.97571-21-philmd@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "msgid": "<20260414003001.97571-21-philmd@linaro.org>",
    "date": "2026-04-14T00:29:52",
    "name": "[v3,20/27] monitor: Remove 'monitor/hmp-target.h' header",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f1b4e6f29e6cfd9a35db1c6afcd1794ebb874bc5",
    "submitter": {
        "id": 85046,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/85046/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "philmd@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414003001.97571-21-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 499762,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499762/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=499762",
            "date": "2026-04-14T00:29:32",
            "name": "monitor: Remove need of per-target handlers",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/499762/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222901/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222901/checks/",
    "tags": {},
    "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 (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=t4LEoMdf;\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=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.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 4fvlc25M27z1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 10:32:50 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wCRhk-0007o7-W4; Mon, 13 Apr 2026 20:32:37 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wCRhj-0007gV-Ay\n for qemu-devel@nongnu.org; Mon, 13 Apr 2026 20:32:35 -0400",
            "from mail-wm1-x331.google.com ([2a00:1450:4864:20::331])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wCRhg-0003Pf-D5\n for qemu-devel@nongnu.org; Mon, 13 Apr 2026 20:32:35 -0400",
            "by mail-wm1-x331.google.com with SMTP id\n 5b1f17b1804b1-488b00ed86fso51874035e9.3\n for <qemu-devel@nongnu.org>; Mon, 13 Apr 2026 17:32:32 -0700 (PDT)",
            "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-488d5d85ae9sm148749875e9.3.2026.04.13.17.32.28\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Mon, 13 Apr 2026 17:32:29 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1776126750; x=1776731550; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=GQw0sqD4HWji1OvXTjA/TSCdlWVBswvkpmTeaVjGoNA=;\n b=t4LEoMdfxEWNSL5AMoiFxacJoAdOvcZj0Xvzb5bce5gO5R8reIXcSxR2r7V0PtXYO3\n StYGnT8XlSFZNq3rEXutw7V0DVwth1X8YskmxDvnfNmVEzoUVFoLT9KnkEbLb7hkOhNP\n Cxz9sJZRQITrZUwGsMmZYZh3Q71ry4vECZsoaJ0B7gxn8P+DlAjbAT0KbB3FOHb9bLiz\n hRlGOVAgxeddQNXlWfvXENQ4LA+d5AoF0vDT93pnUtq2Gc0kGGwZ5dM+7LX2ButIpm9z\n SpKp86KPa3QeC4ALj9BSkLGakLtSFhAilqXuLSupUSkLsmKRjaExuL943VKDzA7vHBvg\n Iinw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776126750; x=1776731550;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=GQw0sqD4HWji1OvXTjA/TSCdlWVBswvkpmTeaVjGoNA=;\n b=QGN2gtHizwezpdXhfvMHCHisr3StyzljIYzWz84LDj9szZPwJFhF+2C5cXSVauZJR/\n RFJ1d/o9sRyHw+BTjZCV056IoS84MfefkgDBSPISTVdOB7qZ71WutC7MKOV9AxVU342H\n RgVCan2k8RfkFAjRqokFSz4Dcct0dUaFuDjQhRzFxHNpwfHqeHlV+WzvTgoezQb1TWHh\n 0VTATmZbIZmKaskG8wkNughpKwmtr4wXIOsAZI8dEwLrs5lOyD1Sb0Xt9Di9W2rt/IL8\n fetni4qnE2RsOW8C3UoFihR7toSLA8WfrFiS2T4KFLN7jvnmfhLgOhu2ZDv86nE3xY26\n vj9A==",
        "X-Gm-Message-State": "AOJu0YyxzqkqMkeERww9xpBWfwV+T7YfZCxo+iIb2h+dTYU+bsn79Sr6\n 1bsXX3qrQqfLyDPf45Muwp/aW1VcN6rupW+LSEe5Aj+fZFNB+RX22LHhfYvFxuP2dtWX+BZ79mV\n XFKAflMQ=",
        "X-Gm-Gg": "AeBDiesPpdMXzbTApjZ5EkULMzG0dtmuMn2kF1ewJ68ATr2UGHmqdSrujXUsVVMdnVJ\n 7heEUEKQ+BY2Zv8yd2EdpahD0Y2qj/4mOMtEs8dBSUcT1eKWlJd4f1UhAcsxAT8TT9UoFNAs6oT\n C7oQ35sFfnrc1W43MBelc7xBd7QRvIXQHQcOx6irPGM5UzU/rh1oq+lRRDFfmsqqiwpofNGV+9K\n a7lculyvQdhAFanegidibe+1dZ7ChQr9T+TMNIvvDqYXnYSwwbiaZKyPYyz4+X7EFoSvaQIN30N\n WDYhzph0ig7HZLjuJcvJH0qC7Qz1JjV01QOG63y8o9sz687LUzm5i7xda9Lgo7SY+Ckr6Sm6zpB\n 58EVgu5KELpZ0OJfQOY8ZLKfkLb3ItxSzDervZDrJbdlitXYX9m0mBrkyP50MxnAb4noF3csrl+\n aAHKhhGgU0OO8t/lc3Cs4YX+eckAKbxa06dHwoxuSl9J4RhCvD1YCA+TTCiJUR3z7JLZqPfYi+",
        "X-Received": "by 2002:a05:600c:8b2f:b0:485:3423:727d with SMTP id\n 5b1f17b1804b1-488d688d46cmr197075255e9.26.1776126750155;\n Mon, 13 Apr 2026 17:32:30 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Markus Armbruster <armbru@redhat.com>,\n Richard Henderson <richard.henderson@linaro.org>,\n \"Dr. David Alan Gilbert\" <dave@treblig.org>,\n Paolo Bonzini <pbonzini@redhat.com>,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Marcelo Tosatti <mtosatti@redhat.com>, \"Michael S. Tsirkin\" <mst@redhat.com>,\n Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,\n Zhao Liu <zhao1.liu@intel.com>, Laurent Vivier <laurent@vivier.eu>,\n Nicholas Piggin <npiggin@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>,\n Glenn Miles <milesg@linux.ibm.com>, Palmer Dabbelt <palmer@dabbelt.com>,\n Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>,\n Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>,\n Liu Zhiwei <zhiwei_liu@linux.alibaba.com>,\n Chao Liu <chao.liu.zevorn@gmail.com>,\n Yoshinori Sato <yoshinori.sato@nifty.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,\n Artyom Tarasenko <atar4qemu@gmail.com>, Max Filippov <jcmvbkbc@gmail.com>,\n kvm@vger.kernel.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org",
        "Subject": "[PATCH v3 20/27] monitor: Remove 'monitor/hmp-target.h' header",
        "Date": "Tue, 14 Apr 2026 02:29:52 +0200",
        "Message-ID": "<20260414003001.97571-21-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260414003001.97571-1-philmd@linaro.org>",
        "References": "<20260414003001.97571-1-philmd@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::331;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x331.google.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, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=unavailable 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": "The \"monitor/hmp-target.h\" header doesn't contain any\ntarget-specific declarations anymore. Merge it with\n\"monitor/hmp.h\", its target-agnostic counterpart.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Dr. David Alan Gilbert <dave@treblig.org>\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\n---\n MAINTAINERS                   |  1 -\n include/monitor/hmp-target.h  | 41 -----------------------------------\n include/monitor/hmp.h         | 11 ++++++++++\n hw/i386/sgx-stub.c            |  1 -\n hw/i386/sgx.c                 |  1 -\n monitor/hmp-cmds.c            |  1 -\n monitor/hmp-target.c          |  1 -\n monitor/hmp.c                 |  1 -\n stubs/target-monitor-defs.c   |  2 +-\n target/i386/cpu-apic.c        |  1 -\n target/i386/monitor.c         |  1 -\n target/i386/sev-system-stub.c |  1 -\n target/i386/sev.c             |  1 -\n target/m68k/monitor.c         |  1 -\n target/ppc/monitor.c          |  2 --\n target/riscv/monitor.c        |  1 -\n target/sh4/monitor.c          |  1 -\n target/sparc/monitor.c        |  1 -\n target/xtensa/monitor.c       |  1 -\n 19 files changed, 12 insertions(+), 59 deletions(-)\n delete mode 100644 include/monitor/hmp-target.h",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 580a80ab254..5dcd24a8a89 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -3421,7 +3421,6 @@ F: hmp.h\n F: hmp-commands*.hx\n F: include/monitor/hmp.h\n F: include/monitor/hmp-completion.h\n-F: include/monitor/hmp-target.h\n F: tests/qtest/test-hmp.c\n F: include/qemu/qemu-print.h\n F: util/qemu-print.c\ndiff --git a/include/monitor/hmp-target.h b/include/monitor/hmp-target.h\ndeleted file mode 100644\nindex ae34ca65ded..00000000000\n--- a/include/monitor/hmp-target.h\n+++ /dev/null\n@@ -1,41 +0,0 @@\n-/*\n- * QEMU monitor\n- *\n- * Copyright (c) 2003-2004 Fabrice Bellard\n- *\n- * Permission is hereby granted, free of charge, to any person obtaining a copy\n- * of this software and associated documentation files (the \"Software\"), to deal\n- * in the Software without restriction, including without limitation the rights\n- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n- * copies of the Software, and to permit persons to whom the Software is\n- * furnished to do so, subject to the following conditions:\n- *\n- * The above copyright notice and this permission notice shall be included in\n- * all copies or substantial portions of the Software.\n- *\n- * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\n- * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n- * THE SOFTWARE.\n- */\n-\n-#ifndef MONITOR_HMP_TARGET_H\n-#define MONITOR_HMP_TARGET_H\n-\n-typedef struct MonitorDef MonitorDef;\n-\n-struct MonitorDef {\n-    const char *name;\n-    int offset;\n-    int64_t (*get_value)(Monitor *mon, const MonitorDef *md, int offset);\n-};\n-\n-const MonitorDef *target_monitor_defs(void);\n-\n-CPUArchState *mon_get_cpu_env(Monitor *mon);\n-CPUState *mon_get_cpu(Monitor *mon);\n-\n-#endif /* MONITOR_HMP_TARGET_H */\ndiff --git a/include/monitor/hmp.h b/include/monitor/hmp.h\nindex a29185741b8..8abe3168924 100644\n--- a/include/monitor/hmp.h\n+++ b/include/monitor/hmp.h\n@@ -24,6 +24,17 @@\n         g_assert_not_reached(); \\\n     }\n \n+typedef struct MonitorDef {\n+    const char *name;\n+    int offset;\n+    int64_t (*get_value)(Monitor *mon, const struct MonitorDef *md, int offset);\n+} MonitorDef;\n+\n+const MonitorDef *target_monitor_defs(void);\n+\n+CPUArchState *mon_get_cpu_env(Monitor *mon);\n+CPUState *mon_get_cpu(Monitor *mon);\n+\n bool hmp_handle_error(Monitor *mon, Error *err);\n void hmp_help_cmd(Monitor *mon, const char *name);\n strList *hmp_split_at_comma(const char *str);\ndiff --git a/hw/i386/sgx-stub.c b/hw/i386/sgx-stub.c\nindex 2b083c77bc1..59d58926311 100644\n--- a/hw/i386/sgx-stub.c\n+++ b/hw/i386/sgx-stub.c\n@@ -1,7 +1,6 @@\n #include \"qemu/osdep.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"hw/i386/pc.h\"\n #include \"hw/i386/sgx-epc.h\"\n #include \"qapi/qapi-commands-misc-i386.h\"\ndiff --git a/hw/i386/sgx.c b/hw/i386/sgx.c\nindex 5e792e8e6e9..7e4c509f5a4 100644\n--- a/hw/i386/sgx.c\n+++ b/hw/i386/sgx.c\n@@ -17,7 +17,6 @@\n #include \"monitor/qdev.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"qapi/error.h\"\n #include \"qemu/error-report.h\"\n #include \"qapi/qapi-commands-misc-i386.h\"\ndiff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c\nindex bc26b39d708..e81632f5551 100644\n--- a/monitor/hmp-cmds.c\n+++ b/monitor/hmp-cmds.c\n@@ -22,7 +22,6 @@\n #include \"monitor/hmp.h\"\n #include \"qemu/help_option.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/monitor-internal.h\"\n #include \"qapi/error.h\"\n #include \"qapi/qapi-commands-control.h\"\ndiff --git a/monitor/hmp-target.c b/monitor/hmp-target.c\nindex 550a7178052..2739383607d 100644\n--- a/monitor/hmp-target.c\n+++ b/monitor/hmp-target.c\n@@ -28,7 +28,6 @@\n #include \"monitor/qdev.h\"\n #include \"net/slirp.h\"\n #include \"system/device_tree.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n #include \"monitor/hmp-completion.h\"\n #include \"block/block-hmp-cmds.h\"\ndiff --git a/monitor/hmp.c b/monitor/hmp.c\nindex 618ded40207..d7b2f731def 100644\n--- a/monitor/hmp.c\n+++ b/monitor/hmp.c\n@@ -28,7 +28,6 @@\n #include \"hw/core/sysemu-cpu-ops.h\"\n #include \"monitor-internal.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"qobject/qdict.h\"\n #include \"qobject/qnum.h\"\n #include \"qemu/bswap.h\"\ndiff --git a/stubs/target-monitor-defs.c b/stubs/target-monitor-defs.c\nindex 35a0a342772..0dd4cdb34f6 100644\n--- a/stubs/target-monitor-defs.c\n+++ b/stubs/target-monitor-defs.c\n@@ -1,5 +1,5 @@\n #include \"qemu/osdep.h\"\n-#include \"monitor/hmp-target.h\"\n+#include \"monitor/hmp.h\"\n \n const MonitorDef *target_monitor_defs(void)\n {\ndiff --git a/target/i386/cpu-apic.c b/target/i386/cpu-apic.c\nindex eaa10ad2a3d..5599a4675c5 100644\n--- a/target/i386/cpu-apic.c\n+++ b/target/i386/cpu-apic.c\n@@ -11,7 +11,6 @@\n #include \"qapi/error.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"system/hw_accel.h\"\n #include \"system/kvm.h\"\n #include \"system/xen.h\"\ndiff --git a/target/i386/monitor.c b/target/i386/monitor.c\nindex 98df5c7fd12..1befb8ea824 100644\n--- a/target/i386/monitor.c\n+++ b/target/i386/monitor.c\n@@ -25,7 +25,6 @@\n #include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"monitor/monitor.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n #include \"qobject/qdict.h\"\n #include \"qapi/error.h\"\ndiff --git a/target/i386/sev-system-stub.c b/target/i386/sev-system-stub.c\nindex 2ea85597cf9..d97536cca1c 100644\n--- a/target/i386/sev-system-stub.c\n+++ b/target/i386/sev-system-stub.c\n@@ -14,7 +14,6 @@\n #include \"qemu/osdep.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"qapi/error.h\"\n #include \"sev.h\"\n \ndiff --git a/target/i386/sev.c b/target/i386/sev.c\nindex 261b6aaa37b..b44b5a1c2b9 100644\n--- a/target/i386/sev.c\n+++ b/target/i386/sev.c\n@@ -40,7 +40,6 @@\n #include \"qom/object.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"qapi/qapi-commands-misc-i386.h\"\n #include \"confidential-guest.h\"\n #include \"hw/i386/pc.h\"\ndiff --git a/target/m68k/monitor.c b/target/m68k/monitor.c\nindex 94bb12833af..be7411edca6 100644\n--- a/target/m68k/monitor.c\n+++ b/target/m68k/monitor.c\n@@ -8,7 +8,6 @@\n #include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/monitor.h\"\n \n void hmp_info_tlb(Monitor *mon, const QDict *qdict)\ndiff --git a/target/ppc/monitor.c b/target/ppc/monitor.c\nindex 776a76602ea..7c88e0e2bda 100644\n--- a/target/ppc/monitor.c\n+++ b/target/ppc/monitor.c\n@@ -7,9 +7,7 @@\n  */\n \n #include \"qemu/osdep.h\"\n-#include \"qemu/ctype.h\"\n #include \"monitor/monitor.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n #include \"cpu.h\"\n \ndiff --git a/target/riscv/monitor.c b/target/riscv/monitor.c\nindex 00a68c26abc..a6250bcccca 100644\n--- a/target/riscv/monitor.c\n+++ b/target/riscv/monitor.c\n@@ -25,7 +25,6 @@\n #include \"cpu_bits.h\"\n #include \"monitor/monitor.h\"\n #include \"monitor/hmp.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"system/memory.h\"\n #include \"internals.h\"\n \ndiff --git a/target/sh4/monitor.c b/target/sh4/monitor.c\nindex 2da6a5426eb..50324d3600c 100644\n--- a/target/sh4/monitor.c\n+++ b/target/sh4/monitor.c\n@@ -24,7 +24,6 @@\n #include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"monitor/monitor.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n \n static void print_tlb(Monitor *mon, int idx, tlb_t *tlb)\ndiff --git a/target/sparc/monitor.c b/target/sparc/monitor.c\nindex a60671a60a4..99abddbf1e0 100644\n--- a/target/sparc/monitor.c\n+++ b/target/sparc/monitor.c\n@@ -24,7 +24,6 @@\n #include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"monitor/monitor.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n \n \ndiff --git a/target/xtensa/monitor.c b/target/xtensa/monitor.c\nindex fbf60d55530..2af84934f83 100644\n--- a/target/xtensa/monitor.c\n+++ b/target/xtensa/monitor.c\n@@ -24,7 +24,6 @@\n #include \"qemu/osdep.h\"\n #include \"cpu.h\"\n #include \"monitor/monitor.h\"\n-#include \"monitor/hmp-target.h\"\n #include \"monitor/hmp.h\"\n \n void hmp_info_tlb(Monitor *mon, const QDict *qdict)\n",
    "prefixes": [
        "v3",
        "20/27"
    ]
}