{"id":2222881,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2222881/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414003001.97571-2-philmd@linaro.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.1/projects/14/?format=json","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-2-philmd@linaro.org>","date":"2026-04-14T00:29:33","name":"[v3,01/27] stubs: Rename monitor* -> qmp* files","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"0c60b1ac7f394671d3a53742fd44a49ae7de4264","submitter":{"id":85046,"url":"http://patchwork.ozlabs.org/api/1.1/people/85046/?format=json","name":"Philippe Mathieu-Daudé","email":"philmd@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260414003001.97571-2-philmd@linaro.org/mbox/","series":[{"id":499762,"url":"http://patchwork.ozlabs.org/api/1.1/series/499762/?format=json","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/2222881/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2222881/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=n/3YsrQT;\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 4fvlZ05bH0z1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 10:31:03 +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 1wCRfX-0001KP-6p; Mon, 13 Apr 2026 20:30:20 -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 1wCRfS-0001J8-Pn\n for qemu-devel@nongnu.org; Mon, 13 Apr 2026 20:30:16 -0400","from mail-wm1-x335.google.com ([2a00:1450:4864:20::335])\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 1wCRfQ-0002ib-VP\n for qemu-devel@nongnu.org; Mon, 13 Apr 2026 20:30:14 -0400","by mail-wm1-x335.google.com with SMTP id\n 5b1f17b1804b1-488b8efed61so48075135e9.1\n for <qemu-devel@nongnu.org>; Mon, 13 Apr 2026 17:30:11 -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-488d5df2062sm111489175e9.12.2026.04.13.17.30.09\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Mon, 13 Apr 2026 17:30:09 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1776126610; x=1776731410; 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=ic1a2UScFm+l31qFyAeBECmSh2Gb91aNOowxEajWjpI=;\n b=n/3YsrQTztswBfRiq2esjfseFvG54/HZSXSx7K4chREEAu0SoQbppf3hDYx2G1XfSY\n K8USQnq+mslq/NzfT+4JDlQQKnG0ers+tmqKNt1PPjsx6z4RsgayMjr1uKYVpXL8YrR9\n qhPzlkIJ07NRmf/mPpr2KxgMU2jUJomTDJ6/fBZcGHbKuY5sH2EVH4QWz9XopAB/pzOw\n bgRaNaaQRdBKm56D3bqC0ACB3/LYCYKQcFfzAqULC2w3QtmZ1gu2jMCpu0SWk3jB3SIH\n XUMexxoxGS7kyMIrASuzcH3QXCKS/+BhPj2nACWMGdu2BwOMdekwqpftexGAGyVWLn1k\n 3RjQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776126610; x=1776731410;\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=ic1a2UScFm+l31qFyAeBECmSh2Gb91aNOowxEajWjpI=;\n b=qwFxLYSCj2W21bbZlPjOzcEtoAX0GzBEWj2p5oHuVerXE8pN0pSTOev/k4tSJWR8/g\n 52ObLiAMDas4KYdapvRUCM5yk5peRfQw0j0eIez3zucsvhiJb1ENoV0MgwciAw5hrtW9\n uVuIjzKY1JhraD3bBcWOiwA5apc7R/H3fhk37lr/9H2xS43CqP+e7RZPvhkSYBSOw7Yk\n P6GVY2Nv3Udwl1++3ajcbSC5gkT1cKJVzAg1RW/y5kXLvt+59xMuEzL0znwlSs6DXbht\n xl4T1nbOIE4ZScFe9VhyYcx0H6VKQG1as4eAH8uPCiOH3tcqC76HPO+17+690+6Uxv4O\n w2Aw==","X-Gm-Message-State":"AOJu0YxLz6JrEJHir6sboOmMsZF9PIbEaSF1KxTAsps1iLOBLhwICipV\n NV3fHQaeHOYo0fT4vOLIOUIBINLncQDIaWF7tDPlyEEqPfOx/OeIH2JjNEiupTWpv67ERfzZ/Ns\n PI210DA0=","X-Gm-Gg":"AeBDieviLqDod1PJEEIfUb7fpP18FwIZs/sCtFFVirs+6j5TaGlJbWkCVP7mnXCHQgL\n ZGzJ4el++WIe3OiWUJEKtI7wlqldkYAgYmoMsm8TmZkmlHHwicEeSgwvZXWKQoczm7Xxpd8e5Da\n ni2v8MsP1GjAiiK2YolfFs6DDPAQYi9s68bw+et3njmMWMzZzC4YIruyzKKpM0Nh+wdhowPsFyT\n YgLkZWkfZ9PRdYeB+CPILBoGx9oi44OTOEuIsx1XTnBXdNCttBocCE1mcKwtsFlGl1rT88r0Hxt\n agEmcziYckvHvPxO7uauJUmrPc7XERomOz5KwzbNvQBblr7odxcaCrxXXdiMvDEofbL+jRBz1Xk\n K7Ukc5qTBJ8iBADjbp/ALmnRD+PujKsN9shd5hefKvVYnbau/2faGArdnFZbm5m73fHNheURKrN\n ULJ/V0/57mz0kcf4IMKaFRI7O7t1QHndQnbqJX8Ds8A0UywAoC1L8hT9EhH6IsCD7yQopcvXaI","X-Received":"by 2002:a05:600c:4ecb:b0:485:3cef:d6ea with SMTP id\n 5b1f17b1804b1-488dc76d45amr173706655e9.13.1776126610324;\n Mon, 13 Apr 2026 17:30:10 -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>","Subject":"[PATCH v3 01/27] stubs: Rename monitor* -> qmp* files","Date":"Tue, 14 Apr 2026 02:29:33 +0200","Message-ID":"<20260414003001.97571-2-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::335;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x335.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":"We use 'HMP' for Human monitor and 'QMP' for 'Machine protocol'.\nThese files aren't about human monitor but QMP, so rename them\nfor clarity using the 'qmp-' prefix instead of 'monitor-'.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n MAINTAINERS                                      |  6 ++++++\n stubs/{monitor-arm-gic.c => qmp-arm-gic.c}       |  0\n ...nitor-cpu-s390x-kvm.c => qmp-cpu-s390x-kvm.c} |  0\n stubs/{monitor-cpu-s390x.c => qmp-cpu-s390x.c}   |  0\n stubs/{monitor-cpu.c => qmp-cpu.c}               |  0\n stubs/{monitor-i386-rtc.c => qmp-i386-rtc.c}     |  0\n stubs/{monitor-i386-sev.c => qmp-i386-sev.c}     |  0\n stubs/{monitor-i386-sgx.c => qmp-i386-sgx.c}     |  0\n stubs/{monitor-i386-xen.c => qmp-i386-xen.c}     |  0\n stubs/meson.build                                | 16 ++++++++--------\n 10 files changed, 14 insertions(+), 8 deletions(-)\n rename stubs/{monitor-arm-gic.c => qmp-arm-gic.c} (100%)\n rename stubs/{monitor-cpu-s390x-kvm.c => qmp-cpu-s390x-kvm.c} (100%)\n rename stubs/{monitor-cpu-s390x.c => qmp-cpu-s390x.c} (100%)\n rename stubs/{monitor-cpu.c => qmp-cpu.c} (100%)\n rename stubs/{monitor-i386-rtc.c => qmp-i386-rtc.c} (100%)\n rename stubs/{monitor-i386-sev.c => qmp-i386-sev.c} (100%)\n rename stubs/{monitor-i386-sgx.c => qmp-i386-sgx.c} (100%)\n rename stubs/{monitor-i386-xen.c => qmp-i386-xen.c} (100%)","diff":"diff --git a/MAINTAINERS b/MAINTAINERS\nindex 535d1d3398e..eb212c31ac2 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -121,6 +121,7 @@ F: include/hw/s390x/\n F: include/hw/watchdog/wdt_diag288.h\n F: pc-bios/s390-ccw/\n F: pc-bios/s390-ccw.img\n+F: stubs/qmp-cpu-s390x.c\n F: target/s390x/\n F: docs/system/target-s390x.rst\n F: docs/system/s390x/\n@@ -496,6 +497,7 @@ M: Christian Borntraeger <borntraeger@linux.ibm.com>\n R: Eric Farman <farman@linux.ibm.com>\n R: Matthew Rosato <mjrosato@linux.ibm.com>\n S: Supported\n+F: stubs/qmp-cpu-s390x-kvm.c\n F: target/s390x/kvm/\n F: target/s390x/machine.c\n F: target/s390x/sigp.c\n@@ -510,6 +512,8 @@ L: kvm@vger.kernel.org\n S: Supported\n F: docs/system/i386/amd-memory-encryption.rst\n F: docs/system/i386/sgx.rst\n+F: stubs/qmp-i386-sev.c\n+F: stubs/qmp-i386-sgx.c\n F: target/i386/kvm/\n F: target/i386/sev*\n F: scripts/kvm/vmxcap\n@@ -522,6 +526,7 @@ S: Supported\n F: include/system/kvm_xen.h\n F: target/i386/kvm/xen*\n F: hw/i386/kvm/xen*\n+F: stubs/qmp-i386-xen.c\n F: tests/functional/x86_64/test_kvm_xen.py\n \n Guest CPU Cores (other accelerators)\n@@ -800,6 +805,7 @@ F: include/hw/timer/a9gtimer.h\n F: include/hw/timer/arm_mptimer.h\n F: include/hw/timer/armv7m_systick.h\n F: include/hw/misc/armv7m_ras.h\n+F: stubs/qmp-arm-gic.c\n F: tests/qtest/test-arm-mptimer.c\n \n Bananapi M2U\ndiff --git a/stubs/monitor-arm-gic.c b/stubs/qmp-arm-gic.c\nsimilarity index 100%\nrename from stubs/monitor-arm-gic.c\nrename to stubs/qmp-arm-gic.c\ndiff --git a/stubs/monitor-cpu-s390x-kvm.c b/stubs/qmp-cpu-s390x-kvm.c\nsimilarity index 100%\nrename from stubs/monitor-cpu-s390x-kvm.c\nrename to stubs/qmp-cpu-s390x-kvm.c\ndiff --git a/stubs/monitor-cpu-s390x.c b/stubs/qmp-cpu-s390x.c\nsimilarity index 100%\nrename from stubs/monitor-cpu-s390x.c\nrename to stubs/qmp-cpu-s390x.c\ndiff --git a/stubs/monitor-cpu.c b/stubs/qmp-cpu.c\nsimilarity index 100%\nrename from stubs/monitor-cpu.c\nrename to stubs/qmp-cpu.c\ndiff --git a/stubs/monitor-i386-rtc.c b/stubs/qmp-i386-rtc.c\nsimilarity index 100%\nrename from stubs/monitor-i386-rtc.c\nrename to stubs/qmp-i386-rtc.c\ndiff --git a/stubs/monitor-i386-sev.c b/stubs/qmp-i386-sev.c\nsimilarity index 100%\nrename from stubs/monitor-i386-sev.c\nrename to stubs/qmp-i386-sev.c\ndiff --git a/stubs/monitor-i386-sgx.c b/stubs/qmp-i386-sgx.c\nsimilarity index 100%\nrename from stubs/monitor-i386-sgx.c\nrename to stubs/qmp-i386-sgx.c\ndiff --git a/stubs/monitor-i386-xen.c b/stubs/qmp-i386-xen.c\nsimilarity index 100%\nrename from stubs/monitor-i386-xen.c\nrename to stubs/qmp-i386-xen.c\ndiff --git a/stubs/meson.build b/stubs/meson.build\nindex 7189ff63ed5..2d334a5a8f3 100644\n--- a/stubs/meson.build\n+++ b/stubs/meson.build\n@@ -78,14 +78,14 @@ if have_system\n   stub_ss.add(files('target-monitor-defs.c'))\n   stub_ss.add(files('win32-kbd-hook.c'))\n   stub_ss.add(files('xen-hw-stub.c'))\n-  stub_ss.add(files('monitor-arm-gic.c'))\n-  stub_ss.add(files('monitor-i386-rtc.c'))\n-  stub_ss.add(files('monitor-i386-sev.c'))\n-  stub_ss.add(files('monitor-i386-sgx.c'))\n-  stub_ss.add(files('monitor-i386-xen.c'))\n-  stub_ss.add(files('monitor-cpu.c'))\n-  stub_ss.add(files('monitor-cpu-s390x.c'))\n-  stub_ss.add(files('monitor-cpu-s390x-kvm.c'))\n+  stub_ss.add(files('qmp-arm-gic.c'))\n+  stub_ss.add(files('qmp-i386-rtc.c'))\n+  stub_ss.add(files('qmp-i386-sev.c'))\n+  stub_ss.add(files('qmp-i386-sgx.c'))\n+  stub_ss.add(files('qmp-i386-xen.c'))\n+  stub_ss.add(files('qmp-cpu.c'))\n+  stub_ss.add(files('qmp-cpu-s390x.c'))\n+  stub_ss.add(files('qmp-cpu-s390x-kvm.c'))\n endif\n \n if have_system or have_user\n","prefixes":["v3","01/27"]}