Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198320/?format=api
{ "id": 2198320, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198320/?format=api", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.0/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": "<20260219191955.83815-19-philmd@linaro.org>", "date": "2026-02-19T19:19:20", "name": "[v2,18/50] target/i386: Remove MonitorDef register entries available via gdbstub", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "15fd3c231d6c72d5950e3d0a2ba4c122933a37c8", "submitter": { "id": 85046, "url": "http://patchwork.ozlabs.org/api/1.0/people/85046/?format=api", "name": "Philippe Mathieu-Daudé", "email": "philmd@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260219191955.83815-19-philmd@linaro.org/mbox/", "series": [ { "id": 492715, "url": "http://patchwork.ozlabs.org/api/1.0/series/492715/?format=api", "date": "2026-02-19T19:19:03", "name": "gdbstub: Build once on various targets (single-binary)", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492715/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2198320/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=HDfLowBJ;\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 4fH3G41wnzz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 06:23:56 +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 1vt9ce-0005Qk-6q; Thu, 19 Feb 2026 14:23:36 -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 1vt9bI-0002oR-7R\n for qemu-devel@nongnu.org; Thu, 19 Feb 2026 14:22:19 -0500", "from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a])\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 1vt9bG-0008As-Lq\n for qemu-devel@nongnu.org; Thu, 19 Feb 2026 14:22:11 -0500", "by mail-wm1-x32a.google.com with SMTP id\n 5b1f17b1804b1-48371119eacso12117305e9.2\n for <qemu-devel@nongnu.org>; Thu, 19 Feb 2026 11:22:08 -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-483a31bac27sm23830395e9.5.2026.02.19.11.22.06\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Thu, 19 Feb 2026 11:22:06 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1771528927; x=1772133727; 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=9SDQ1L6BuuAO5wqEwdTuhkDGVq6EQ0d0AnGhnbOHbh8=;\n b=HDfLowBJKYKX8KYWEWlF6l+hzaMO8Ch6SqfpRMay17WFL9lVpns9sWZKw7PgXqcRXF\n 0MxqMFZuMMqJa2o2nbqu46XrIyjsIVmx78KVVCDqMifr2MO5suGt6pYx/scv+T9aTXdd\n c0q4M8VTc6gXeMiU3j/dN9PGcT7L1s1Gw+iTwlysFIw/jThZaM17IZM9755XvGoha8MJ\n WgArhPhk90adrHTy2mjbWMQuM5mjqNWc0B5rBU7PpHKgZRYuPb2bz+aBV4vMJfnPiHBA\n Wr7TQFyNOC/6WV9v3M1H6KKWUs5vLOOqLyno05rbBFQNolMgm/WhP//F6TzB7IBedw5g\n JoaA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1771528927; x=1772133727;\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=9SDQ1L6BuuAO5wqEwdTuhkDGVq6EQ0d0AnGhnbOHbh8=;\n b=Wergl/eEwSzqQHlMufkwvfWmq1j/8nlOg61aBsPtr5bebYWnLueGQoFb5fxmzRT44y\n 4oM0iSOs3VWbnj3O8uh9N/3Kt1dVNOb16x6Q9VyeL11gQ+CvfJmBbTc+2ewFvJVOIGJG\n CHAlwPIPx2NEsYC2n1SXKa8FVxalQ37j7vNPY6LQAsDxRK+Ey7UESSAD7qpy2OuwQs89\n TWf5ORxE3VW3tSLq9N7k8+4/OFNnFkquf0w0IlN9kAHnHadZYczgkyztgox1FeXNAYvM\n wv9jhWiQufVTmBsFXJUAAmLJbwj0kgxh+IgFYJL+mS5NCPre783dLnn0Lsvi4sA5/LCz\n C+Bg==", "X-Gm-Message-State": "AOJu0YycHsd8UA/tjHb4M/jYRqwHMGp9U46NMPAXwNghrYMQ6XmXaJ3T\n VWd/jI734aiwRu8DPopsGvabV+GhjxRIIiEvas/vvAkDKvLt+u7McVpMJcHFQyMDID2wabAP3OX\n Xbc0YXGm0Cg==", "X-Gm-Gg": "AZuq6aIZuqzI+lqHjb1y0coK/vmn9xS3pdmwv/G4n8uERkoML6LpBtWWewzN4xWg5zi\n uiC7xPMO1ciRvIpkPP/gXfbqs1wEGM/KqiqbERvgmZ4nx9P9WHnjWz/XhqCLbGOW6EhV/uVqn9i\n HcFggdeyBWSUnQjrQFsf/vw0l0G7fW2iLEHZgt3uIx1xPPAAra+z4dEw8RguqCGTx17KBcTBYDv\n UOoIYd4NL675Br4sE0g+3wiDxHNFbKWvSUcWQV49twyXfume6KqBCVFJmI8Brezo76/wkXqHRVo\n 29VGURdAoterxCCb5ifP/FgXvKRh1lRP2jVs7ebj3NIFnv+mbzl2lngoU0pKgkdtK+klLowqmg5\n ZaLCW6A/2uUze87JCow/JPYTrdgh8FxIWu28nbzIDiJYYlyVOhL5ES8MLnnUrG/ndptyusURc3r\n Bz77vTd2Do/6vtkk5UhL3Tc3zv0SOKQMBRUGnGe/cLv4T/MpOXU2M1bj9fWEAUqHtL4YdppkOTL\n oumfdrc5Nc=", "X-Received": "by 2002:a05:600c:3e0c:b0:480:6b76:dfb4 with SMTP id\n 5b1f17b1804b1-48398a65eefmr97540905e9.8.1771528927256;\n Thu, 19 Feb 2026 11:22:07 -0800 (PST)", "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 Richard Henderson <richard.henderson@linaro.org>, qemu-s390x@nongnu.org,\n\t=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-riscv@nongnu.org,\n qemu-ppc@nongnu.org,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Paolo Bonzini <pbonzini@redhat.com>, Zhao Liu <zhao1.liu@intel.com>", "Subject": "[PATCH v2 18/50] target/i386: Remove MonitorDef register entries\n available via gdbstub", "Date": "Thu, 19 Feb 2026 20:19:20 +0100", "Message-ID": "<20260219191955.83815-19-philmd@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20260219191955.83815-1-philmd@linaro.org>", "References": "<20260219191955.83815-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::32a;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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": "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 | 39 ---------------------------------------\n 1 file changed, 39 deletions(-)", "diff": "diff --git a/target/i386/monitor.c b/target/i386/monitor.c\nindex 99b32cb7b0f..446428602ef 100644\n--- a/target/i386/monitor.c\n+++ b/target/i386/monitor.c\n@@ -602,46 +602,7 @@ static target_long monitor_get_pc(Monitor *mon, const struct MonitorDef *md,\n \n const MonitorDef monitor_defs[] = {\n #define SEG(name, seg) \\\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 SEG(\"ds\", R_DS)\n SEG(\"es\", R_ES)\n", "prefixes": [ "v2", "18/50" ] }