Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2198330/?format=api
{ "id": 2198330, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2198330/?format=api", "project": { "id": 69, "url": "http://patchwork.ozlabs.org/api/1.0/projects/69/?format=api", "name": "QEMU powerpc development", "link_name": "qemu-ppc", "list_id": "qemu-ppc.nongnu.org", "list_email": "qemu-ppc@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-ppc/patch/20260219191955.83815-19-philmd@linaro.org/mbox/", "series": [ { "id": 492714, "url": "http://patchwork.ozlabs.org/api/1.0/series/492714/?format=api", "date": "2026-02-19T19:19:04", "name": "gdbstub: Build once on various targets (single-binary)", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/492714/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2198330/checks/", "tags": {}, "headers": { "Return-Path": "<qemu-ppc-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-ppc-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 4fH3H86NXvz1xpl\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 20 Feb 2026 06:24:52 +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-ppc-bounces@nongnu.org>)\n\tid 1vt9cZ-0004hX-8I; Thu, 19 Feb 2026 14:23:31 -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-0002oS-7j\n for qemu-ppc@nongnu.org; Thu, 19 Feb 2026 14:22:19 -0500", "from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b])\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-0008Am-KM\n for qemu-ppc@nongnu.org; Thu, 19 Feb 2026 14:22:11 -0500", "by mail-wm1-x32b.google.com with SMTP id\n 5b1f17b1804b1-48375f1defeso9543285e9.0\n for <qemu-ppc@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=n3cQ3BjilOIPM5Yy/LUUeGzhCE4YfeF3zidMtebba+z58im9UPg0kzf9qpExBrO//X\n dIe61lGpD3oNvaEiGoGjzuIs0VgHoaVkNY3cxwK0JFiGF1Sye9vYcM8UtAwEKgj9HrVK\n yVW2YTdH7Ff2LQFssictTn5VBO9eu45elAtWzWLY61UEzlFWeuDYQLMHLrWXq4xjPFbf\n 0CxUAmPoRUi4K80rdGgdRx7p4twWUf3at7WRdCQD+3XK36Tk4ktNShbeaYSzFvacjtTb\n jSl4H+5q60h1pCgAYn5rHoDWRwtjmx07myAXzvC9s96NWwHgPotObFwbHmUuUi18lWVq\n 9BSg==", "X-Forwarded-Encrypted": "i=1;\n AJvYcCVq5POHEyXaYcaMn//hhw5XepFl1uXvJd0++7wJ7GTqhAWZe3/Ak56CRr6x6SdMX/yOO80yL0Amlg==@nongnu.org", "X-Gm-Message-State": "AOJu0Yw7LOv40TZiAfyboDhe9BbfMcQDmsYoYps+F/9sGBgZGIXvSS3+\n 4RuGqKqmxdG1uhvFQLXxT4JoFENrVUub0Dt5fzNtr0M5h7DUn2m51HvW0zXHLQF9CW6DuWTSsGl\n W1Xr5uzddIQ==", "X-Gm-Gg": "AZuq6aLK/tvh1DUojHUTpHTVPJweDUHYY4Ub59keui6RI3hMuNflb9AsT+bhTxZqUfX\n O6boikAEorEq6t5oWDGoR+hakir760tlGl0w07wVgVCQkT1VsncwjgcoyjeqTeXdomYl3xaMJ6t\n f141M74ZUsd72IU/KRRC6fWZT7NDlJMWxnZJnNca6P7O9JbiE61qS9gMelWT8b+HWDAPCvKZv0c\n ouGrN3jrqjL5sbgNbGOlPtg981x0RaHNrMqWrSox9cuuWs9aoo4vL7O4j+Yn5Ukk7FrOkFWygOS\n pZ+DLdqtGeZe+DSFq4r5Xdky19UBYZHjEaimH9CU02ed78QL2zB3lXA5GWRF7UGQ1MYfoOPuY3B\n AuwyO5Ul7t9ZTwfmj3PTymS5P3IrYnnlyM98n/zCrUiePqHsyRjwA6buUBapjBHGEML2xB9Bzv/\n DT89rqPW373AQnOclxF8WkFyqr/kJI4RSDmXQj3zY3D/YJDI8Y/UZZbipX1KKurebPMidk4nP1Y\n UQVaDUQ2aU=", "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::32b;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x32b.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-ppc@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<qemu-ppc.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-ppc>", "List-Post": "<mailto:qemu-ppc@nongnu.org>", "List-Help": "<mailto:qemu-ppc-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-ppc>,\n <mailto:qemu-ppc-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-ppc-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-ppc-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" ] }