Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197072/?format=api
{ "id": 2197072, "url": "http://patchwork.ozlabs.org/api/patches/2197072/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260216225228.53959-10-philmd@linaro.org/", "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": "<20260216225228.53959-10-philmd@linaro.org>", "list_archive_url": null, "date": "2026-02-16T22:52:25", "name": "[09/11] target/i386: Remove MonitorDef register entries available via gdbstub", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "591f6c87b1aae315f01dd04a86e587cb1d8b99bb", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260216225228.53959-10-philmd@linaro.org/mbox/", "series": [ { "id": 492361, "url": "http://patchwork.ozlabs.org/api/series/492361/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=492361", "date": "2026-02-16T22:52:16", "name": "monitor/hmp: Automatically handle gdb-xml exposed registers", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492361/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197072/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197072/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 (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=g5vHVB1F;\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 4fFJ3j5PkXz1xwD\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 09:53:53 +1100 (AEDT)", "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 1vs7TR-0003ZE-4M; Mon, 16 Feb 2026 17:53:49 -0500", "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 <philmd@linaro.org>) id 1vs7TL-0003Na-8q\n for qemu-devel@nongnu.org; Mon, 16 Feb 2026 17:53:43 -0500", "from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d])\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 1vs7TJ-0006gL-JQ\n for qemu-devel@nongnu.org; Mon, 16 Feb 2026 17:53:43 -0500", "by mail-wm1-x32d.google.com with SMTP id\n 5b1f17b1804b1-48372efa020so25637845e9.2\n for <qemu-devel@nongnu.org>; Mon, 16 Feb 2026 14:53:39 -0800 (PST)", "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48371a409a5sm91123625e9.26.2026.02.16.14.53.36\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Mon, 16 Feb 2026 14:53:37 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1771282418; x=1771887218; 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=jB5by0knWSnD5A5J5m+cWeRbk2ACccSNC+pzW4uTeBM=;\n b=g5vHVB1FvMnb7kbtDnqQry4Ve0uUGyNLobkmOkcLro5OHrO/UCAfHlUDMrm2kWi3nI\n rKS4Lf3y1Pjd2MJbplihiF2XmNwLENvJhsbjP2zJLaZth+Q1sy9AJ62FFxVvlxrRZVf0\n nUpf9781IAhAOthyCX7PtfUEHgKii0Xw7mHTPr9YbzFBWUyrKdmV3J8SaMZbz79rN2WY\n 42prnBTSAzuDfOMa7/TMAPnCOKGrf4N6g8LQgWeLuvJgBVaFVyW3YLdxKmevHU6JZkBw\n M3BjRcCJ38a5CviFzHCK9k8oZkXEiQXxcCBg+dQrowFNxNkII+0i6mPYtfjQFJj0MKD0\n wCOQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771282418; x=1771887218;\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=jB5by0knWSnD5A5J5m+cWeRbk2ACccSNC+pzW4uTeBM=;\n b=TfB1KckHXLWEOTc7YvlT+84iv4ZDhM6z+AFzZ9YIXVm0i0BwrJqnmhHccrCy0orQHp\n e7R8nq6BmTJwSDHj8Yw1O5JF4uHGksCqOioVXAcTzDTdkqXqKF1n1dnfMzUt0bRDbbCK\n 6CsDXmFDDKVBu3iiTnBwn+VLdblrkGEuZ0xeOCDuiP7uKHIpvAilTXuz2ibzxX/DfPjt\n 8f5ktbnTf0RSxdh5CCLsJ5qTEwQwj8tyyIKZeI9ia1DlCEycgARBGXfJsbLIwqJPYl4j\n LMlfZ3ISMxWcFtIiC8NRMCqUq+J0b08vvbTbGObFpv69f62lzpjZMDm8LHi7a3Uq+8K1\n /zlA==", "X-Gm-Message-State": "AOJu0YyXeWD2LvbqmQhYb568WfmKs518rYVyloXN2iY8Eh5ghxPrFxxD\n Grw1rJGa3QziwkUNQygJU+x5xOEGcA/ALKJ272Db7tRdwq4C68KYjdLCX12ZOHOHuKIOdR/dTx1\n eRNA04tA=", "X-Gm-Gg": "AZuq6aKjO3PcMGYoV33cHN58vWWfM7H30AFatw1NBEr9w75Kg87LG2e6w2hQZYiN7BA\n sfG7S92ImHz+0f5ImRAc3OJbC4ckPJXHP8Nm9V01MkK7IalOayyR6qEbIdP/gp/eLQw/VERLt0g\n BOIqz6sO2fftBREFzrvLRqFeweIj02f8NTbEqp2MC38QBApGycUTkoumRIq32rkU2wc33eJsPjA\n zWTf5wKgf/0G5gvUnS6OlCyKs9nqdpjQu5G1HL22wM7Vn0+W6EoLygVUC9LuFpPzu0/6wdRWNRB\n BPyU8ldcMdmrtRjvFYtjapDdEOPxprdOgv1qbiZWLcOmQFGD6lZ2NvSLFoaRSAi27RYN++ZSJUC\n 9qEJf1tBBDa7ot+S/iEsXQP5eK+JHymTZtZP4C80UAaum9Rnc5gGIAYXzaRmdHdl/CCyAfdrJCA\n nJ6wMShiQF2urvHu/bAFI5mQ19fvuT2FhWYH7hwoy3HVXrq7+qhtA1+WbTi7l16J9mscsFYIqE", "X-Received": "by 2002:a05:600c:5491:b0:480:1c2f:b003 with SMTP id\n 5b1f17b1804b1-48379bfd732mr153201565e9.20.1771282418402;\n Mon, 16 Feb 2026 14:53:38 -0800 (PST)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "Laurent Vivier <laurent@vivier.eu>,\n \"Dr. David Alan Gilbert\" <dave@treblig.org>,\n Nicholas Piggin <npiggin@gmail.com>, Chinmay Rath <rathc@linux.ibm.com>,\n\t=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>,\n Zhao Liu <zhao1.liu@intel.com>,\n Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>,\n Artyom Tarasenko <atar4qemu@gmail.com>,\n Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>,\n Gustavo Romero <gustavo.romero@linaro.org>,\n Paolo Bonzini <pbonzini@redhat.com>, unisono@quyllur.org, =?utf-8?q?Philipp?=\n\t=?utf-8?q?e_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, qemu-ppc@nongnu.org", "Subject": "[PATCH 09/11] target/i386: Remove MonitorDef register entries\n available via gdbstub", "Date": "Mon, 16 Feb 2026 23:52:25 +0100", "Message-ID": "<20260216225228.53959-10-philmd@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260216225228.53959-1-philmd@linaro.org>", "References": "<20260216225228.53959-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::32d;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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=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 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": "All these registers are already provided by via gdbstub parsed XML\nand handler by the gdb_get_register() helper in the monitor/hmp.c\nfile. Remove as now unreachable code.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n target/i386/monitor.c | 35 -----------------------------------\n 1 file changed, 35 deletions(-)", "diff": "diff --git a/target/i386/monitor.c b/target/i386/monitor.c\nindex 99b32cb7b0f..0660fcabc2f 100644\n--- a/target/i386/monitor.c\n+++ b/target/i386/monitor.c\n@@ -605,41 +605,6 @@ const MonitorDef monitor_defs[] = {\n { name, offsetof(CPUX86State, segs[seg].selector), NULL, MD_I32 },\\\n { name \".base\", offsetof(CPUX86State, segs[seg].base) },\\\n { name \".limit\", offsetof(CPUX86State, segs[seg].limit), NULL, MD_I32 },\n-\n- { \"eax\", offsetof(CPUX86State, regs[0]) },\n- { \"ecx\", offsetof(CPUX86State, regs[1]) },\n- { \"edx\", offsetof(CPUX86State, regs[2]) },\n- { \"ebx\", offsetof(CPUX86State, regs[3]) },\n- { \"esp|sp\", offsetof(CPUX86State, regs[4]) },\n- { \"ebp|fp\", offsetof(CPUX86State, regs[5]) },\n- { \"esi\", offsetof(CPUX86State, regs[6]) },\n- { \"edi\", offsetof(CPUX86State, regs[7]) },\n-#ifdef TARGET_X86_64\n- { \"r8\", offsetof(CPUX86State, regs[8]) },\n- { \"r9\", offsetof(CPUX86State, regs[9]) },\n- { \"r10\", offsetof(CPUX86State, regs[10]) },\n- { \"r11\", offsetof(CPUX86State, regs[11]) },\n- { \"r12\", offsetof(CPUX86State, regs[12]) },\n- { \"r13\", offsetof(CPUX86State, regs[13]) },\n- { \"r14\", offsetof(CPUX86State, regs[14]) },\n- { \"r15\", offsetof(CPUX86State, regs[15]) },\n- { \"r16\", offsetof(CPUX86State, regs[16]) },\n- { \"r17\", offsetof(CPUX86State, regs[17]) },\n- { \"r18\", offsetof(CPUX86State, regs[18]) },\n- { \"r19\", offsetof(CPUX86State, regs[19]) },\n- { \"r20\", offsetof(CPUX86State, regs[20]) },\n- { \"r21\", offsetof(CPUX86State, regs[21]) },\n- { \"r22\", offsetof(CPUX86State, regs[22]) },\n- { \"r23\", offsetof(CPUX86State, regs[23]) },\n- { \"r24\", offsetof(CPUX86State, regs[24]) },\n- { \"r25\", offsetof(CPUX86State, regs[25]) },\n- { \"r26\", offsetof(CPUX86State, regs[26]) },\n- { \"r27\", offsetof(CPUX86State, regs[27]) },\n- { \"r28\", offsetof(CPUX86State, regs[28]) },\n- { \"r29\", offsetof(CPUX86State, regs[29]) },\n- { \"r30\", offsetof(CPUX86State, regs[30]) },\n- { \"r31\", offsetof(CPUX86State, regs[31]) },\n-#endif\n { \"eflags\", offsetof(CPUX86State, eflags) },\n { \"eip\", offsetof(CPUX86State, eip) },\n SEG(\"cs\", R_CS)\n", "prefixes": [ "09/11" ] }