Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: 2b581da051094468706b86806629067ef49937de
https://github.com/qemu/qemu/commit/2b581da051094468706b86806629067ef49937de
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/hppa/cpu.h
M target/hppa/mem_helper.c
Log Message:
-----------
target/hppa: Define PA[20|1X] physical address space size
When converting virtual to physical addresses,
TARGET_PHYS_ADDR_SPACE_BITS is used under PA-RISC 2.0, and an explicit
cast to uint32_t is used under PA-RISC 1.X. Replace the former with a
more specific macro limited to mem_helper.c, and make the latter
conversion explicit by defining the size of the physical address space
for PA-RISC 1.X.
Note: while 44 bits should be used for the 64-bit address space running
a C3700, 40 bits is still chosen as this is expected by the SeaBIOS
functional test.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: a92503e6e5f2435c2fce9dc64d391f3ff34e383c
https://github.com/qemu/qemu/commit/a92503e6e5f2435c2fce9dc64d391f3ff34e383c
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M hw/hppa/machine.c
Log Message:
-----------
hw/hppa: Use hppa_abs_to_phys_pa1x()
Makes the physical address space conversion for 32 bit machines more
explicit, using the translation function defined in mem_helper.c.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: ab7a864082a21475ca4dab7bf286539ca0a85b8b
https://github.com/qemu/qemu/commit/ab7a864082a21475ca4dab7bf286539ca0a85b8b
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/i386/cpu.c
M target/i386/kvm/kvm.c
M target/i386/tcg/helper-tcg.h
Log Message:
-----------
target/i386: Drop physical address range checks
Since TARGET_PHYS_ADDR_SPACE_BITS is now fixed to 64 bits for all
targets we can remove range checks on cpu->phys_bits and
TCG_PHYS_ADDR_BITS.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 56599a705f24a4a0c100f08bc77799cce8013740
https://github.com/qemu/qemu/commit/56599a705f24a4a0c100f08bc77799cce8013740
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/loongarch/cpu-mmu.h
M target/loongarch/cpu_helper.c
M target/loongarch/internals.h
M target/loongarch/tcg/tlb_helper.c
Log Message:
-----------
target/loongarch: Introduce loongarch_palen_mask()
In preparation for dropping TARGET_PHYS_ADDR_SPACE_BITS, define a
runtime function to construct a mask from the PALEN cpucfg field.
The mask is then used when converting from virtual to physical
addresses.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 16d73d390ced91154caf5acdf3fa4b780d8b3228
https://github.com/qemu/qemu/commit/16d73d390ced91154caf5acdf3fa4b780d8b3228
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M hw/loongarch/boot.c
M hw/loongarch/virt.c
M include/hw/loongarch/boot.h
Log Message:
-----------
hw/loongarch: Use loongarch_palen_mask()
Replaces remaining uses of TARGET_PHYS_ADDR_SPACE_BITS with
runtime calls to loongarch_palen_mask() to fetch the physical
address mask from the cpucfg PALEN field.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 3a3cfcb29fd2f71195c8cbf6d6311e37f3810315
https://github.com/qemu/qemu/commit/3a3cfcb29fd2f71195c8cbf6d6311e37f3810315
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M hw/riscv/riscv-iommu-pci.c
M hw/riscv/riscv-iommu.c
M hw/riscv/riscv-iommu.h
M hw/riscv/virt.c
Log Message:
-----------
hw/riscv: Set IOMMU PAS via property
Replaces the only remaining use of TARGET_PHYS_ADDR_SPACE_BITS for RISCV
with a property RISCVIOMMUState::pas_bits that gets written to the
capabilities field upon device realization. This write needs to happen
at realize-time to ensure the property has been set.
For the virt machine and sysbus device, pas_bits is set by
virt_machine_init() to either 34 or 56 bits, retaining previous behaviour.
However, for the PCI device we do not have access to the CPU state, and
instead use the maximum riscv64 value of 56 bits.
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Reviewed-by: Chao Liu <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: cf884c075e8720ce44e3a2bf6c2760e9dac83f12
https://github.com/qemu/qemu/commit/cf884c075e8720ce44e3a2bf6c2760e9dac83f12
Author: Anton Johansson <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M include/exec/cpu-defs.h
M target/alpha/cpu-param.h
M target/arm/cpu-param.h
M target/avr/cpu-param.h
M target/hexagon/cpu-param.h
M target/hppa/cpu-param.h
M target/i386/cpu-param.h
M target/loongarch/cpu-param.h
M target/m68k/cpu-param.h
M target/microblaze/cpu-param.h
M target/mips/cpu-param.h
M target/or1k/cpu-param.h
M target/ppc/cpu-param.h
M target/riscv/cpu-param.h
M target/rx/cpu-param.h
M target/s390x/cpu-param.h
M target/sh4/cpu-param.h
M target/sparc/cpu-param.h
M target/tricore/cpu-param.h
M target/xtensa/cpu-param.h
Log Message:
-----------
exec: Drop TARGET_PHYS_ADDR_SPACE_BITS
The macro is no longer in use and can safely be dropped.
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Brian Cain <[email protected]>
Signed-off-by: Anton Johansson <[email protected]>
Message-ID: <[email protected]>
[PMD: Keep TARGET_PHYS_ADDR_SPACE_BITS poisoned]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 69fe6185fff9cc6497b679cf9fc0421269677b1a
https://github.com/qemu/qemu/commit/69fe6185fff9cc6497b679cf9fc0421269677b1a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/ppc/meson.build
Log Message:
-----------
target/ppc: Move user_only_helper.c to target_user_arch[] source set
Since commit 46369b50ee3 ("meson: Introduce meson_user_arch
source set for arch-specific user-mode") using target_user_arch[] is
preferred because clearer, and no need to filter on CONFIG_USER_ONLY.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 197c6071df766919ce1210f151970506189f90c2
https://github.com/qemu/qemu/commit/197c6071df766919ce1210f151970506189f90c2
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/ppc/cpu_init.c
Log Message:
-----------
target/ppc: Remove PPC_DEBUG_SPR left-over comment
The PPC_DEBUG_SPR definition was fully removed in commit
61135639821 ("target/ppc: Clean up _spr_register et al").
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: e015ae3074fb22134888e41c9c30af548f165d14
https://github.com/qemu/qemu/commit/e015ae3074fb22134888e41c9c30af548f165d14
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/i386/gdbstub.c
Log Message:
-----------
target/i386: Inline GDB_FORCE_64 definition
Directly checking TARGET_LONG_BITS allows to remove GDB_FORCE_64.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: bc1da6990f3c4d856599e50aa8db07a2b9d0066b
https://github.com/qemu/qemu/commit/bc1da6990f3c4d856599e50aa8db07a2b9d0066b
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M gdb-xml/avr-cpu.xml
Log Message:
-----------
target/avr: Fix typo in gdb-xml feature name
While GDB doesn't provide an official XML for the gdbstub
protocol, it is still better to name it 'avr' instead of 'riscv'.
Fixes: 12b35405476 ("target/avr: CPU class: Add GDB support")
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: e4eff9dfaad4ccf9d0241825e11747263d026224
https://github.com/qemu/qemu/commit/e4eff9dfaad4ccf9d0241825e11747263d026224
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/alpha/gdbstub.c
Log Message:
-----------
target/alpha: Document gdbstub register indexes
Follow GDB XML comments. Re-order switch cases for clarity.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: c60750fe5ef287c7324c5d5945b0b5a392ac67ee
https://github.com/qemu/qemu/commit/c60750fe5ef287c7324c5d5945b0b5a392ac67ee
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/riscv/monitor.c
M target/riscv/riscv-qmp-cmds.c
Log Message:
-----------
target/riscv: Extract monitor-related code to monitor.c
Keep riscv-qmp-cmds.c for QMP, use monitor.c for HMP.
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 1ec0fbe2ddadf17f7e0644b441833f0cd20dc137
https://github.com/qemu/qemu/commit/1ec0fbe2ddadf17f7e0644b441833f0cd20dc137
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/ppc/cpu_init.c
Log Message:
-----------
target/ppc: Fix CPUClass::gdb_num_core_regs value
Only 70 registers are exposed from GDB XML file (for either
32 / 64-bit variants).
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 429471c801884b2456cab311d1fc482f8690b231
https://github.com/qemu/qemu/commit/429471c801884b2456cab311d1fc482f8690b231
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/ppc/cpu.h
M target/ppc/cpu_init.c
M target/ppc/gdbstub.c
Log Message:
-----------
target/ppc: Remove dead code depending on USE_APPLE_GDB
We never defined USE_APPLE_GDB, so the code introduced in commit
b3cad3abf6d ("PPC: Add support for Apple gdb in gdbstub") is dead
since almost 12 years. Remove it.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 744bafc3f20b4b87141729af673f92118ac9a93c
https://github.com/qemu/qemu/commit/744bafc3f20b4b87141729af673f92118ac9a93c
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M scripts/feature_to_c.py
Log Message:
-----------
gdbstub: Make generated compound literal array size explicit
GDBFeature::num_regs holds the number of registers, but when using
the compound literal construction, if the last array entry is not
set, the array will be shorter. Prevent array overrun by making the
array length explicit,
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Akihiko Odaki <[email protected]>
Message-Id: <[email protected]>
Commit: 7ddd3aca5f2efcf6aae10f836011e445ee77a6e1
https://github.com/qemu/qemu/commit/7ddd3aca5f2efcf6aae10f836011e445ee77a6e1
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M gdbstub/gdbstub.c
M include/hw/core/cpu.h
M target/alpha/cpu.c
M target/ppc/cpu_init.c
M target/sparc/cpu.c
Log Message:
-----------
gdbstub: Always infer gdb_num_core_regs when using XML file
Rather correct inferred count over invalid manual one.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 733c41f0aa4d27f1b0646bca2bcbdbcced516f15
https://github.com/qemu/qemu/commit/733c41f0aa4d27f1b0646bca2bcbdbcced516f15
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-25 (Wed, 25 Feb 2026)
Changed paths:
M target/sparc/cpu.c
M target/sparc/cpu.h
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Introduce sparc_cpu_register_gdb_regs() stub
Introduce sparc_cpu_register_gdb_regs() which we are going
to fill in the next commits.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 891601f2e4d254fd29ae72b1f60c3a58ce96a97d
https://github.com/qemu/qemu/commit/891601f2e4d254fd29ae72b1f60c3a58ce96a97d
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M MAINTAINERS
M configs/targets/sparc64-linux-user.mak
M configs/targets/sparc64-softmmu.mak
M gdb-xml/sparc64-core.xml
A gdb-xml/sparc64-cp0.xml
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Restore 'gdb-xml/sparc64-cp0.xml'
Restore gdb-xml/sparc64-cp0.xml from mainstream binutils, tag
'binutils-2_46', found in the gdb/features/sparc/folder [*].
Extract sparc_cp0_gdb_write_register() out of
sparc_cpu_gdb_read_register() and sparc_cp0_gdb_write_register()
out of sparc_cpu_gdb_write_register(), taking care to update the
register indexes in the switch cases.
Register these helpers with a call to gdb_register_coprocessor()
in sparc_cpu_register_gdb_regs().
[*]
https://sourceware.org/git/?p=binutils-gdb.git;a=tree;f=gdb/features/sparc;hb=refs/tags/binutils-2_46
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 85b4bcf3d55e284ffce9a642fff1a76859549c52
https://github.com/qemu/qemu/commit/85b4bcf3d55e284ffce9a642fff1a76859549c52
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M configs/targets/sparc64-linux-user.mak
M configs/targets/sparc64-softmmu.mak
M gdb-xml/sparc64-core.xml
A gdb-xml/sparc64-fpu.xml
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Restore 'gdb-xml/sparc64-fpu.xml'
Restore gdb-xml/sparc64-fpu.xml from mainstream binutils, tag
'binutils-2_46', found in the gdb/features/sparc/folder [*].
Extract sparc_fpu_gdb_write_register() out of
sparc_cpu_gdb_read_register() and sparc_fpu_gdb_write_register()
out of sparc_cpu_gdb_write_register(), taking care to update the
register indexes in the switch cases.
Register these helpers with a call to gdb_register_coprocessor()
in sparc_cpu_register_gdb_regs().
[*]
https://sourceware.org/git/?p=binutils-gdb.git;a=tree;f=gdb/features/sparc;hb=refs/tags/binutils-2_46
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 00c82c36b07362264327856c202ab849cde5bf94
https://github.com/qemu/qemu/commit/00c82c36b07362264327856c202ab849cde5bf94
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M configs/targets/sparc64-linux-user.mak
M configs/targets/sparc64-softmmu.mak
R gdb-xml/sparc64-core.xml
A gdb-xml/sparc64-cpu.xml
M target/sparc/cpu.c
Log Message:
-----------
target/sparc: Restore 'gdb-xml/sparc64-cpu.xml'
Restore gdb-xml/sparc64-cpu.xml from mainstream binutils, tag
'binutils-2_46', found in the gdb/features/sparc/folder [*].
[*]
https://sourceware.org/git/?p=binutils-gdb.git;a=tree;f=gdb/features/sparc;hb=refs/tags/binutils-2_46
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 0f0f47d8b88a1659e24b1c4dd1569fca4bcf07fa
https://github.com/qemu/qemu/commit/0f0f47d8b88a1659e24b1c4dd1569fca4bcf07fa
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M configs/targets/sparc32plus-linux-user.mak
Log Message:
-----------
target/sparc: Expose gdbstub registers to sparc32plus target
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: fe1958cdb697435966ef66eb3507366edbb2e50e
https://github.com/qemu/qemu/commit/fe1958cdb697435966ef66eb3507366edbb2e50e
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M configs/targets/sparc-linux-user.mak
M configs/targets/sparc-softmmu.mak
A gdb-xml/sparc32-cp0.xml
A gdb-xml/sparc32-cpu.xml
A gdb-xml/sparc32-fpu.xml
M target/sparc/cpu.c
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Expose gdbstub registers to sparc32 targets
Import gdb-xml/sparc32-{cpu,fpu,cp0}.xml from mainstream binutils,
tag 'binutils-2_46', found in the gdb/features/sparc/folder [*].
Register them by setting the CPUClass::gdb_core_xml_file field and
calling gdb_register_coprocessor() in sparc_cpu_register_gdb_regs().
[*]
https://sourceware.org/git/?p=binutils-gdb.git;a=tree;f=gdb/features/sparc;hb=refs/tags/binutils-2_46
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 42cc2028a435c5775c42491d10068b85822ba81a
https://github.com/qemu/qemu/commit/42cc2028a435c5775c42491d10068b85822ba81a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M monitor/hmp.c
Log Message:
-----------
monitor/hmp: Handle gdb-xml exposed registers via gdb_get_register()
Implement the gdb_get_register() helper and call it before the
regular get_monitor_def() one. Registers is exposed via the
GDB XML files will be directly handled, possibily allowing new
registers added to XML files to be automatically accessible in
QEMU monitor. All targets having GDB XML files can now be used
within the monitor.
For example with Loongarch, before:
$ qemu-system-loongarch64 -M virt -S -monitor stdio
QEMU 10.2.0 monitor - type 'help' for more information
(qemu) info registers
CPU#0
PC=000000001c000000 FCSR0 0x00000000
...
(qemu) p/x $pc
unknown register
Try "help p" for more information
(qemu)
and after:
$ ./qemu-system-loongarch64 -M virt -S -monitor stdio
QEMU 10.2.50 monitor - type 'help' for more information
(qemu) p/x $pc
0x1c000000
(qemu)
Similarly RISC-V:
QEMU 10.2.0 monitor - type 'help' for more information
(qemu) p/x $pc
unknown register
Try "help p" for more information
VS
QEMU 10.2.50 monitor - type 'help' for more information
(qemu) p/x $pc
0x1000
(qemu)
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: d1a4a7dfc79dc96074ec1a1783c67e5f823b9012
https://github.com/qemu/qemu/commit/d1a4a7dfc79dc96074ec1a1783c67e5f823b9012
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sparc/monitor.c
Log Message:
-----------
target/sparc: Remove MonitorDef register entries available via gdbstub
All these registers are already provided by via gdbstub parsed XML
and handler by the gdb_get_register() helper in the monitor/hmp.c
file. Remove as now unreachable code.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 32005528394f967860517b621b3d378a11d3a46c
https://github.com/qemu/qemu/commit/32005528394f967860517b621b3d378a11d3a46c
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/i386/monitor.c
Log Message:
-----------
target/i386: Remove MonitorDef register entries available via gdbstub
All these registers are already provided by via gdbstub parsed XML
and handler by the gdb_get_register() helper in the monitor/hmp.c
file. Remove as now unreachable code.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: f7a46c64c84e6d4f829c651bf763469117c30683
https://github.com/qemu/qemu/commit/f7a46c64c84e6d4f829c651bf763469117c30683
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/m68k/monitor.c
Log Message:
-----------
target/m68k: Remove MonitorDef register entries available via gdbstub
All these registers are already provided by via gdbstub parsed XML
and handler by the gdb_get_register() helper in the monitor/hmp.c
file. Remove as now unreachable code.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 53e6619ee0d668d1d19cef7e456e9467905af6d4
https://github.com/qemu/qemu/commit/53e6619ee0d668d1d19cef7e456e9467905af6d4
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/ppc/ppc-qmp-cmds.c
Log Message:
-----------
target/ppc: Remove MonitorDef register entries available via gdbstub
All these registers are already provided by via gdbstub parsed XML
and handler by the gdb_get_register() helper in the monitor/hmp.c
file. Remove as now unreachable code.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: c91f3330cc1f8763f3f6f21bd400075e92a134b6
https://github.com/qemu/qemu/commit/c91f3330cc1f8763f3f6f21bd400075e92a134b6
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/ppc/meson.build
A target/ppc/monitor.c
M target/ppc/ppc-qmp-cmds.c
Log Message:
-----------
target/ppc: Extract monitor-related code to monitor.c
Keep ppc-qmp-cmds.c for QMP, use monitor.c for HMP.
Since ppc-qmp-cmds.c was introduced using the MIT license
(see commit bf957284006 "monitor: remove target-specific
code from monitor.c") retain the same license for the new
monitor.c file.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: aa75a7c09b5a4f9e3478c65261ec80ab48720925
https://github.com/qemu/qemu/commit/aa75a7c09b5a4f9e3478c65261ec80ab48720925
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M MAINTAINERS
M configs/targets/or1k-linux-user.mak
M configs/targets/or1k-softmmu.mak
A gdb-xml/or1k-core.xml
M target/or1k/cpu.c
Log Message:
-----------
target/or1k: Use XML register definitions from GDB
Import gdb-xml/or1k-fpu.xml from mainstream binutils, tag
'binutils-2_46' [*]. Register as CPUClass::gdb_core_xml_file.
[*]
https://sourceware.org/git/?p=binutils-gdb.git;a=blob_plain;f=gdb/features/or1k-core.xml;h=0d13f355f5296ae426794eb3003dcc18fbbd49d5;hb=refs/tags/binutils-2_46
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 6bd0ccc4555ec44b290f5a3e5f51cd6fd898c595
https://github.com/qemu/qemu/commit/6bd0ccc4555ec44b290f5a3e5f51cd6fd898c595
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/riscv/monitor.c
Log Message:
-----------
target/riscv: Remove empty target_monitor_defs() symbol
Prefer the stub target_monitor_defs() symbol introduced in commit
bf957284006 ("monitor: remove target-specific code from monitor.c").
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Chao Liu <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 8ef71fe91c8b8b2aea1408885e487a4bdae10977
https://github.com/qemu/qemu/commit/8ef71fe91c8b8b2aea1408885e487a4bdae10977
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Factor sparc_cpu_gdb_write_register() out
Factor sparc_cpu_gdb_write_register() out.
Prefer ldn_p(target_long_bits/8) over target-specific ldtul_p().
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 27385bc1ce22ec6248da412696e9e8c66771bcef
https://github.com/qemu/qemu/commit/27385bc1ce22ec6248da412696e9e8c66771bcef
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/ppc/gdbstub.c
Log Message:
-----------
target/ppc: Replace ldtul_p() -> ldn_p()
Prefer ldn_p(target_long_bits/8) over target-specific ldtul_p().
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 2497a8a6e175d04cf790aae3702805d9702fcea4
https://github.com/qemu/qemu/commit/2497a8a6e175d04cf790aae3702805d9702fcea4
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/mips/gdbstub.c
Log Message:
-----------
target/mips: Replace ldtul_p() -> ldn_p()
Prefer ldn_p(target_long_bits/8) over target-specific ldtul_p().
Use deposit64() in gdb_write_register(), allowing to remove
'target_ulong' type uses.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 7170bddcd92cb4fab66619e087b6d8a4c185b50c
https://github.com/qemu/qemu/commit/7170bddcd92cb4fab66619e087b6d8a4c185b50c
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/riscv/gdbstub.c
Log Message:
-----------
target/riscv: Replace ldtul_p() -> ldn_p()
Prefer ldn_p(riscv_cpu_is_32bit) over target-specific ldtul_p().
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Chao Liu <[email protected]>
Message-ID: <[email protected]>
Commit: de32a75647e702343057793f94f06208c3e567c0
https://github.com/qemu/qemu/commit/de32a75647e702343057793f94f06208c3e567c0
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/riscv/gdbstub.c
Log Message:
-----------
target/riscv: Remove unnecessary target_ulong type uses
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Daniel Henrique Barboza <[email protected]>
Reviewed-by: Chao Liu <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 7ca74dc98db4374bf26bb2824533f0c3daf329ba
https://github.com/qemu/qemu/commit/7ca74dc98db4374bf26bb2824533f0c3daf329ba
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/i386/gdbstub.c
Log Message:
-----------
target/i386: Replace ldtul_p() -> ldn_p()
Prefer ldn_p(target_long_bits) over target-specific ldtul_p().
Reviewed-by: Richard Henderson <[email protected]>
Reviewed-by: Zhao Liu <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Commit: 62b7f6df5614fed51bfb56002a31233c419a10ca
https://github.com/qemu/qemu/commit/62b7f6df5614fed51bfb56002a31233c419a10ca
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/i386/gdbstub.c
Log Message:
-----------
target/i386: Expand 64-bit definitions when TARGET_LONG_BITS == 64
Where both gdb_read/write_register() functions check for
'TARGET_LONG_BITS == 64' we can expand the following definitions:
ldtul_p() -> ldq_p()
gdb_get_regl() -> gdb_get_reg64()
Do the same in i386_cpu_gdb_get_egprs(): check TARGET_LONG_BITS to
effectively inline gdb_get_regl().
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: cebda82488ea38d3f010ed037a38a64ced681a46
https://github.com/qemu/qemu/commit/cebda82488ea38d3f010ed037a38a64ced681a46
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/gdbstub/helpers.h
Log Message:
-----------
gdbstub: Remove ldtul*() macros
These macros aren't used anymore, remove them to avoid
further uses creeping back in.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 34fa8dbbf2cef959c9970cf51c93730ffbc9f312
https://github.com/qemu/qemu/commit/34fa8dbbf2cef959c9970cf51c93730ffbc9f312
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/alpha/gdbstub.c
Log Message:
-----------
target/alpha: Expand gdb_get_regl() -> gdb_get_reg64()
The Alpha targets are only built as 64-bit:
$ git grep TARGET_LONG_BITS configs/targets/alpha-*
configs/targets/alpha-linux-user.mak:4:TARGET_LONG_BITS=64
configs/targets/alpha-softmmu.mak:2:TARGET_LONG_BITS=64
Mechanically replace:
gdb_get_regl() -> gdb_get_reg64()
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 7831e5f48d2dc011df8aa41e017543fa53aa0a60
https://github.com/qemu/qemu/commit/7831e5f48d2dc011df8aa41e017543fa53aa0a60
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/hexagon/gdbstub.c
Log Message:
-----------
target/hexagon: Expand gdb_get_regl() -> gdb_get_reg32()
The Hexagon target is only built as 32-bit:
$ git grep TARGET_LONG_BITS configs/targets/hexagon*
configs/targets/hexagon-linux-user.mak:5:TARGET_LONG_BITS=32
Mechanically replace:
gdb_get_regl() -> gdb_get_reg32()
Reviewed-by: Brian Cain <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 14a39fc17b88194c4dc24e9c4276fa78f51b7356
https://github.com/qemu/qemu/commit/14a39fc17b88194c4dc24e9c4276fa78f51b7356
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/rx/gdbstub.c
Log Message:
-----------
target/rx: Expand gdb_get_regl() -> gdb_get_reg32()
The Renesas RX target is only built as 32-bit:
$ git grep TARGET_LONG_BITS configs/targets/rx*
configs/targets/rx-softmmu.mak:5:TARGET_LONG_BITS=32
Mechanically replace:
gdb_get_regl() -> gdb_get_reg32()
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: e1824a10423c790a70176faff0066f5e6a2be479
https://github.com/qemu/qemu/commit/e1824a10423c790a70176faff0066f5e6a2be479
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sh4/gdbstub.c
Log Message:
-----------
target/sh4: Expand gdb_get_regl() -> gdb_get_reg32()
The SH4 targets are only built as 32-bit:
$ git grep TARGET_LONG_BITS configs/targets/sh4*
configs/targets/sh4-linux-user.mak:5:TARGET_LONG_BITS=32
configs/targets/sh4-softmmu.mak:2:TARGET_LONG_BITS=32
configs/targets/sh4eb-linux-user.mak:6:TARGET_LONG_BITS=32
configs/targets/sh4eb-softmmu.mak:3:TARGET_LONG_BITS=32
Mechanically replace:
gdb_get_regl() -> gdb_get_reg32()
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 2420b3fdfb07e595c3ddd7396a95c4221c6cf431
https://github.com/qemu/qemu/commit/2420b3fdfb07e595c3ddd7396a95c4221c6cf431
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sparc/gdbstub.c
Log Message:
-----------
target/sparc: Expand gdb_get_regl() in gdb_get_rega()
Convert the gdb_get_rega() macro to an inlined function,
expanding gdb_get_regl() via a TARGET_SPARC64 definition check.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 4ebb5ba5514befe146f77666173a8a8bd98c4727
https://github.com/qemu/qemu/commit/4ebb5ba5514befe146f77666173a8a8bd98c4727
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/gdbstub/helpers.h
Log Message:
-----------
gdbstub/helpers: Convert gdb_get_regl() macro to inlined helper
Rather than checking TARGET_LONG_BITS at build time,
check target_long_bits() at runtime.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: a056e7a3b8a4d9f76bea56d76cd6b092cf9ecd1c
https://github.com/qemu/qemu/commit/a056e7a3b8a4d9f76bea56d76cd6b092cf9ecd1c
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/microblaze/meson.build
Log Message:
-----------
target/microblaze: Build 'gdbstub.c' once for system binaries
'gdbstub.c' can now be built once for all qemu-system-microblaze*
binaries.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 1c94da7a340225d958ce67c10725b721998474f9
https://github.com/qemu/qemu/commit/1c94da7a340225d958ce67c10725b721998474f9
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sh4/meson.build
Log Message:
-----------
target/sh4: Build 'monitor.c' once for system binaries
'monitor.c' can be built once for all qemu-system-sh4* binaries.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: b7288c06fdf294ec096f4dc9451e846216f93578
https://github.com/qemu/qemu/commit/b7288c06fdf294ec096f4dc9451e846216f93578
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/sh4/meson.build
Log Message:
-----------
target/sh4: Build 'gdbstub.c' once for system binaries
'gdbstub.c' can now be built once for all qemu-system-sh4*
binaries.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: eb908759ae9689346014d5014d848aa440e35423
https://github.com/qemu/qemu/commit/eb908759ae9689346014d5014d848aa440e35423
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/or1k/meson.build
Log Message:
-----------
target/or1k: Rename 'openrisc' -> 'or1k' in meson.build
Follow commit 62822fc7e0f ("target/or1k: Rename from openrisc").
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: ceffd13311dc6949c052bd752a5bd0f613965bc4
https://github.com/qemu/qemu/commit/ceffd13311dc6949c052bd752a5bd0f613965bc4
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/or1k/meson.build
Log Message:
-----------
target/or1k: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-or1k binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: bbcab06e41231bf988d766e45d58f1c062643db7
https://github.com/qemu/qemu/commit/bbcab06e41231bf988d766e45d58f1c062643db7
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/alpha/meson.build
Log Message:
-----------
target/alpha: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-alpha binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 7700b0106f981d16d3004494a1104257620512bb
https://github.com/qemu/qemu/commit/7700b0106f981d16d3004494a1104257620512bb
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/avr/meson.build
Log Message:
-----------
target/avr: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-avr binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 9c6bed12f4f2273713c68da614fd32cb03b8f75a
https://github.com/qemu/qemu/commit/9c6bed12f4f2273713c68da614fd32cb03b8f75a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/loongarch/meson.build
Log Message:
-----------
target/loongarch: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-loongarch64 binary, but by
moving 'gdbstub.c' in the target_common_system_arch[] source
set the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: e9b39c7d727896f61c844039fe3b4ce35be0e112
https://github.com/qemu/qemu/commit/e9b39c7d727896f61c844039fe3b4ce35be0e112
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/m68k/meson.build
Log Message:
-----------
target/m68k: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-m68k binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: dea007d31051db4bb8df4f873e8423150f1ea51a
https://github.com/qemu/qemu/commit/dea007d31051db4bb8df4f873e8423150f1ea51a
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/rx/meson.build
Log Message:
-----------
target/rx: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-rx binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: cb543f4ac1a5f4e4dacabf1be9a4bd6187fc3838
https://github.com/qemu/qemu/commit/cb543f4ac1a5f4e4dacabf1be9a4bd6187fc3838
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/s390x/meson.build
Log Message:
-----------
target/s390x: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-s390x binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 936c783dab9240d6c000d387aaf620dfde4719be
https://github.com/qemu/qemu/commit/936c783dab9240d6c000d387aaf620dfde4719be
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/tricore/meson.build
Log Message:
-----------
target/tricore: Build 'gdbstub.c' once for system single binary
There is a single qemu-system-tricore binary, but by moving
'gdbstub.c' in the target_common_system_arch[] source set
the resulting object can be linked into a single qemu-sytem
binary.
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Commit: 345179a72f3272bf761218f282bd9c1edff033d5
https://github.com/qemu/qemu/commit/345179a72f3272bf761218f282bd9c1edff033d5
Author: Alex Bennée <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M target/m68k/cpu.c
Log Message:
-----------
target/m68k: clean-up includes in cpu.c
We don't need translation-block.h as the TB flags are local and the
only bits needed come from cpu-ops.h. The vmstate is a system only
concerns so we can guard against including it for linux-user.
Finally tidy up the order to keep things together with the local cpu.h
kept at the end.
Signed-off-by: Alex Bennée <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 4b75d19e362bf951b94c5f7738ff830fb6035fd7
https://github.com/qemu/qemu/commit/4b75d19e362bf951b94c5f7738ff830fb6035fd7
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/system/arch_init.h
M system/arch_init.c
Log Message:
-----------
qemu: Document qemu_arch_available() method
qemu_arch_available() is used to check if a broadly available
feature should be exposed to a particular set of target
architectures.
Since its argument is a mask of bits, rename it as @arch_bitmask.
We have less than 32 target architectures so far, so restrict it
to the uint32_t type.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: 2dc8c9cf72fd6c255a5c466e300f63059ddcfd17
https://github.com/qemu/qemu/commit/2dc8c9cf72fd6c255a5c466e300f63059ddcfd17
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/qemu/target-info.h
M target-info.c
Log Message:
-----------
qemu/target_info: Add target_s390x() helper
Add a helper to distinct whether the binary is targetting
S390x or not.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: 1afc7da7dbc3f4c3b8cf310ff30a08f6f02587c8
https://github.com/qemu/qemu/commit/1afc7da7dbc3f4c3b8cf310ff30a08f6f02587c8
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M hw/scsi/scsi-disk.c
Log Message:
-----------
hw/scsi/disk: Prefer target_s390x() over qemu_arch_available()
qemu_arch_available() is used to check if a broadly available
feature should be exposed to a particular set of target
architectures. Here we only want to check something that is
specific to s390x: the target_s390x() helper is more adapted.
Besides, it will allow to reduce qemu_arch_available() scope.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: 1bfbe1fc5a6741fdddc64e762c20bb9b38133673
https://github.com/qemu/qemu/commit/1bfbe1fc5a6741fdddc64e762c20bb9b38133673
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/system/arch_init.h
M meson.build
M system/arch_init.c
M system/meson.build
Log Message:
-----------
system: Make qemu_arch_available() common code
Remove the need of per-target QEMU_ARCH. Define the
QEMU_ARCH_* constants based on SYS_EMU_TARGET_* ones,
themselves already exposed via target_arch(), allowing
to check the current target is included in @arch_bitmask.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: 747b494f12f3489da70fad220001d55851ce9577
https://github.com/qemu/qemu/commit/747b494f12f3489da70fad220001d55851ce9577
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
R include/system/arch_init.h
A system/arch_init.h
Log Message:
-----------
system: Reduce 'arch_init.h' scope
Better to restrict qemu_arch_available() scope so it is only
used by generic system/ code to parse command line options.
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Message-Id: <[email protected]>
Commit: d2f198027baa68220a0b4224412007fa1c723eb1
https://github.com/qemu/qemu/commit/d2f198027baa68220a0b4224412007fa1c723eb1
Author: Daniel P. Berrangé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M meson.build
Log Message:
-----------
meson: don't access 'cxx' object without checking cpp lang
Signed-off-by: Daniel P. Berrangé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Acked-by: Paolo Bonzini <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 40a5b6745ed4b586d9e29c71ac492b1309c3f419
https://github.com/qemu/qemu/commit/40a5b6745ed4b586d9e29c71ac492b1309c3f419
Author: Philippe Mathieu-Daudé <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/exec/page-vary.h
M page-vary-target.c
Log Message:
-----------
page-vary: Expose TARGET_PAGE_BITS_MIN definition
We'll use TARGET_PAGE_BITS_MIN in page-vary-common.c,
so expose it via "exec/page-vary.h".
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-ID: <[email protected]>
Commit: afb94ae3337fb430d2f54c7150df856ccf1ce94f
https://github.com/qemu/qemu/commit/afb94ae3337fb430d2f54c7150df856ccf1ce94f
Author: Richard Henderson <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M configs/targets/aarch64-softmmu.c
M configs/targets/arm-softmmu.c
M include/qemu/target-info-impl.h
M target-info-stub.c
Log Message:
-----------
target-info: Add page_bits_{init,vary}
Add two fields that will hold TARGET_PAGE_BITS,
TARGET_PAGE_BITS_VARY, TARGET_PAGE_BITS_LEGACY.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: bd2ecc733adea64a71966bd554d115852149287b
https://github.com/qemu/qemu/commit/bd2ecc733adea64a71966bd554d115852149287b
Author: Richard Henderson <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M page-vary-target.c
M target-info-stub.c
Log Message:
-----------
target-info: Move TARGET_PAGE_BITS sanity check
Move the check from page-vary-target.c to target-info-stub.c,
in the process of removing page-vary-target.c entirely.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 79674d07d40919dabd37c2fc1f542f791b9c3162
https://github.com/qemu/qemu/commit/79674d07d40919dabd37c2fc1f542f791b9c3162
Author: Richard Henderson <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/exec/page-vary.h
M page-vary-common.c
M page-vary-target.c
Log Message:
-----------
page-vary: Build set_preferred_target_page_bits as common code
Use target_info->page_bits_vary to merge
set_preferred_target_page_bits_common into
set_preferred_target_page_bits in page-vary-common.c.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: eb52c6d7698824e877a19293706c77ce7b523120
https://github.com/qemu/qemu/commit/eb52c6d7698824e877a19293706c77ce7b523120
Author: Richard Henderson <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M include/exec/page-vary.h
M page-vary-common.c
M page-vary-target.c
Log Message:
-----------
page-vary: Build finalize_target_page_bits as common code
Use target_info->page_bits_init to merge
finalize_target_page_bits_common into
finalize_target_page_bits in page-vary-common.c.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: c87bf20b072ebd26f2c4ff68f802ef0d69f72a46
https://github.com/qemu/qemu/commit/c87bf20b072ebd26f2c4ff68f802ef0d69f72a46
Author: Richard Henderson <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M MAINTAINERS
M meson.build
A page-vary-system.c
R page-vary-target.c
Log Message:
-----------
page-vary: Build migration_legacy_page_bits as common code
Use target_info->page_bits_init to implement
migration_legacy_page_bits. Because this is the last
function within the file, rename page-vary-target.c
to page-vary-system.c and build once for system mode.
Signed-off-by: Richard Henderson <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-ID: <[email protected]>
[PMD: Update MAINTAINERS]
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Commit: 7390b0825b8e041a961f6215a18fa68213dc4779
https://github.com/qemu/qemu/commit/7390b0825b8e041a961f6215a18fa68213dc4779
Author: Peter Maydell <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
M MAINTAINERS
M configs/targets/aarch64-softmmu.c
M configs/targets/arm-softmmu.c
M configs/targets/or1k-linux-user.mak
M configs/targets/or1k-softmmu.mak
M configs/targets/sparc-linux-user.mak
M configs/targets/sparc-softmmu.mak
M configs/targets/sparc32plus-linux-user.mak
M configs/targets/sparc64-linux-user.mak
M configs/targets/sparc64-softmmu.mak
M gdb-xml/avr-cpu.xml
A gdb-xml/or1k-core.xml
A gdb-xml/sparc32-cp0.xml
A gdb-xml/sparc32-cpu.xml
A gdb-xml/sparc32-fpu.xml
R gdb-xml/sparc64-core.xml
A gdb-xml/sparc64-cp0.xml
A gdb-xml/sparc64-cpu.xml
A gdb-xml/sparc64-fpu.xml
M gdbstub/gdbstub.c
M hw/hppa/machine.c
M hw/loongarch/boot.c
M hw/loongarch/virt.c
M hw/riscv/riscv-iommu-pci.c
M hw/riscv/riscv-iommu.c
M hw/riscv/riscv-iommu.h
M hw/riscv/virt.c
M hw/scsi/scsi-disk.c
M include/exec/cpu-defs.h
M include/exec/page-vary.h
M include/gdbstub/helpers.h
M include/hw/core/cpu.h
M include/hw/loongarch/boot.h
M include/qemu/target-info-impl.h
M include/qemu/target-info.h
R include/system/arch_init.h
M meson.build
M monitor/hmp.c
M page-vary-common.c
A page-vary-system.c
R page-vary-target.c
M scripts/feature_to_c.py
M system/arch_init.c
A system/arch_init.h
M system/meson.build
M target-info-stub.c
M target-info.c
M target/alpha/cpu-param.h
M target/alpha/cpu.c
M target/alpha/gdbstub.c
M target/alpha/meson.build
M target/arm/cpu-param.h
M target/avr/cpu-param.h
M target/avr/meson.build
M target/hexagon/cpu-param.h
M target/hexagon/gdbstub.c
M target/hppa/cpu-param.h
M target/hppa/cpu.h
M target/hppa/mem_helper.c
M target/i386/cpu-param.h
M target/i386/cpu.c
M target/i386/gdbstub.c
M target/i386/kvm/kvm.c
M target/i386/monitor.c
M target/i386/tcg/helper-tcg.h
M target/loongarch/cpu-mmu.h
M target/loongarch/cpu-param.h
M target/loongarch/cpu_helper.c
M target/loongarch/internals.h
M target/loongarch/meson.build
M target/loongarch/tcg/tlb_helper.c
M target/m68k/cpu-param.h
M target/m68k/cpu.c
M target/m68k/meson.build
M target/m68k/monitor.c
M target/microblaze/cpu-param.h
M target/microblaze/meson.build
M target/mips/cpu-param.h
M target/mips/gdbstub.c
M target/or1k/cpu-param.h
M target/or1k/cpu.c
M target/or1k/meson.build
M target/ppc/cpu-param.h
M target/ppc/cpu.h
M target/ppc/cpu_init.c
M target/ppc/gdbstub.c
M target/ppc/meson.build
A target/ppc/monitor.c
M target/ppc/ppc-qmp-cmds.c
M target/riscv/cpu-param.h
M target/riscv/gdbstub.c
M target/riscv/monitor.c
M target/riscv/riscv-qmp-cmds.c
M target/rx/cpu-param.h
M target/rx/gdbstub.c
M target/rx/meson.build
M target/s390x/cpu-param.h
M target/s390x/meson.build
M target/sh4/cpu-param.h
M target/sh4/gdbstub.c
M target/sh4/meson.build
M target/sparc/cpu-param.h
M target/sparc/cpu.c
M target/sparc/cpu.h
M target/sparc/gdbstub.c
M target/sparc/monitor.c
M target/tricore/cpu-param.h
M target/tricore/meson.build
M target/xtensa/cpu-param.h
Log Message:
-----------
Merge tag 'single-binary-20260226' of https://github.com/philmd/qemu into
staging
Various patches related to single binary effort:
- Remove TARGET_PHYS_ADDR_SPACE_BITS definition
- Remove MonitorDef register entries already provided by gdbstub XML
- Remove gdbstub ldtul*() macros
- Build various gdbstub.c files once
- Make qemu_arch_available() and page-vary common code
# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEE+qvnXhKRciHc/Wuy4+MsLN6twN4FAmmfgeYACgkQ4+MsLN6t
# wN6AUA/9E5LY2fWlQWHGXu4vDmzL4dqiIsitjd/2uo09Z7VQqJNOV+E1aj1cvk+y
# 0+CNafpwd3QkcdGFeAJla2qbTsSyQkEv5/ijZadprl1weAHSOM+0NNINL2fu1sZA
# VXLaUNXTEnrD82WPntF4ovbahcHzqPiimupZ0/RB1i6CAlcUv2fhN8hkmFwq1XaB
# DBNW0AG3+dL/qhYoJyloZCEn394QSTyVzexfqeQgbk1Zrwyx6b+EtobRIq9lEMTp
# 7OFQocPjOuXid+LR93MlRy/LSuw8ZAABIizFm924eMjuIe+JHRdOyRVl0N84kbcU
# TsaI7cB+qHM4uVrMrmaEpBBFATAWhMNxJMPTAYevrLOAN3whZj1a3ogKrZGroTPL
# aJG3M6to7TxKr1qDp+V75NkldUq/N4AG43aWLXODNuCewCZ9hV2QWMzAKuu9Ez4Q
# 6sEX2G8PlbiqnKqLkdFUg3Ny58v57IRXzyXJOrj9JG9v7NPCmHLT+xyyzVy3NVnF
# ZXbG0x/3/7jDGlYwPN5PKH7+NlEb44OwQ0qSyL7392mnhz+5DZ4IQr3LQriIFt31
# HT7fnlR1Kz01+vy7cezCHJOFdikK9cpJeKwljYkWhSOQvThRv5cELABiIrlXo423
# YVNZEirZWjiF8fS+nDJA91S3wj7pWGm0j3iSBGGPZ+9tG6OwHKU=
# =fOn0
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Feb 25 23:12:38 2026 GMT
# gpg: using RSA key FAABE75E12917221DCFD6BB2E3E32C2CDEADC0DE
# gpg: Good signature from "Philippe Mathieu-Daudé (F4BUG) <[email protected]>"
[full]
# Primary key fingerprint: FAAB E75E 1291 7221 DCFD 6BB2 E3E3 2C2C DEAD C0DE
* tag 'single-binary-20260226' of https://github.com/philmd/qemu: (70 commits)
page-vary: Build migration_legacy_page_bits as common code
page-vary: Build finalize_target_page_bits as common code
page-vary: Build set_preferred_target_page_bits as common code
target-info: Move TARGET_PAGE_BITS sanity check
target-info: Add page_bits_{init,vary}
page-vary: Expose TARGET_PAGE_BITS_MIN definition
meson: don't access 'cxx' object without checking cpp lang
system: Reduce 'arch_init.h' scope
system: Make qemu_arch_available() common code
hw/scsi/disk: Prefer target_s390x() over qemu_arch_available()
qemu/target_info: Add target_s390x() helper
qemu: Document qemu_arch_available() method
target/m68k: clean-up includes in cpu.c
target/tricore: Build 'gdbstub.c' once for system single binary
target/s390x: Build 'gdbstub.c' once for system single binary
target/rx: Build 'gdbstub.c' once for system single binary
target/m68k: Build 'gdbstub.c' once for system single binary
target/loongarch: Build 'gdbstub.c' once for system single binary
target/avr: Build 'gdbstub.c' once for system single binary
target/alpha: Build 'gdbstub.c' once for system single binary
...
Signed-off-by: Peter Maydell <[email protected]>
Compare: https://github.com/qemu/qemu/compare/6593154e7d65...7390b0825b8e
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications