[PULL 00/27] multi-target 20261022

Pierrick Bouvier posted 27 patches 1 month ago
Failed in applying to current master (apply log)
dump/dump.c                           | 14 ++++++++++----
hw/core/cpu-system.c                  | 19 +++++++++++++++++++
hw/core/machine-qmp-cmds.c            | 26 ++++++++++++++++++++++++++
include/hw/core/cpu.h                 | 24 ++++++++++++++++++++++++
include/hw/core/sysemu-cpu-ops.h      | 12 ++++++++++++
include/qemu/target-info.h            |  8 ++++++++
include/qemu/typedefs.h               |  2 ++
include/system/dump-arch.h            |  9 ++-------
include/system/memory_mapping.h       |  4 ++--
include/system/qmp-cpu.h              | 21 +++++++++++++++++++++
stubs/dump.c                          | 27 ---------------------------
stubs/meson.build                     |  2 --
stubs/qmp-cpu-arm.c                   |  8 ++++++++
stubs/qmp-cpu-i386.c                  |  8 ++++++++
stubs/qmp-cpu-loongarch.c             |  8 ++++++++
stubs/qmp-cpu-riscv.c                 |  8 ++++++++
stubs/qmp-cpu-s390x.c                 |  8 ++++++++
stubs/qmp-cpu.c                       | 14 --------------
target-info.c                         |  6 ++++++
target/arm/arch_dump.c                | 22 +++++++---------------
target/arm/arm-qmp-cmds.c             |  7 ++++---
target/arm/cpu.c                      |  2 ++
target/arm/internals.h                |  4 ++++
target/i386/arch_dump.c               | 14 +++++++-------
target/i386/cpu-internal.h            |  5 +++++
target/i386/cpu-system.c              |  7 ++++---
target/i386/cpu.c                     |  2 ++
target/loongarch/arch_dump.c          |  9 ++++-----
target/loongarch/cpu.c                |  2 ++
target/loongarch/internals.h          |  5 +++++
target/loongarch/loongarch-qmp-cmds.c |  7 ++++---
target/mips/system/mips-qmp-cmds.c    |  9 ---------
target/ppc/arch_dump.c                | 18 ++++++------------
target/ppc/cpu.h                      |  6 +++---
target/ppc/cpu_init.c                 |  2 ++
target/ppc/internal.h                 |  7 +++++++
target/ppc/ppc-qmp-cmds.c             |  9 ---------
target/riscv/arch_dump.c              | 20 +++++++-------------
target/riscv/cpu.c                    |  2 ++
target/riscv/internals.h              |  4 ++++
target/riscv/riscv-qmp-cmds.c         |  7 ++++---
target/s390x/arch_dump.c              |  8 ++++----
target/s390x/cpu-system.c             |  2 ++
target/s390x/cpu_models_system.c      |  7 ++++---
target/s390x/s390x-internal.h         |  5 +++++
45 files changed, 272 insertions(+), 148 deletions(-)
delete mode 100644 stubs/dump.c
delete mode 100644 stubs/qmp-cpu.c
[PULL 00/27] multi-target 20261022
Posted by Pierrick Bouvier 1 month ago
The following changes since commit 4f4225874d4d3747ec1142e935dbd314218992fa:

  Merge tag 'pull-request-2026-10-22' of https://gitlab.com/thuth/qemu into staging (2026-10-22 12:47:21 +0200)

are available in the Git repository at:

  https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/multi_target-20261022

for you to fetch changes up to 0e1015d2959e307fb91637b93339fe7d5ac145fd:

  qmp: reimplement qmp_query_cpu_model_expansion as a dispatcher function (2026-10-22 20:34:01 +0000)

----------------------------------------------------------------
Changes:
- [PATCH v5 00/21] multi-target: remove dump functions duplication (Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>)
  Link: https://lore.kernel.org/qemu-devel/20261021181244.867840-1-pierrick.bouvier@oss.qualcomm.com
- [PATCH 0/6] multi-target: remove qmp_query_cpu_model_expansion (Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>)
  Link:https://lore.kernel.org/qemu-devel/20261016162509.24854-1-pierrick.bouvier@oss.qualcomm.com

----------------------------------------------------------------
Pierrick Bouvier (27):
      target-info: add target_heterogeneous
      dump/dump: do not dump machine if doing heterogeneous emulation
      include/qemu/typedefs: add ArchDumpInfo
      include/qemu/typedefs: add GuestPhysBlockList
      hw/core/sysemu-cpu-ops: add get_dump_info
      target/arm: implement get_dump_info sysemu op
      target/i386: implement get_dump_info sysemu op
      target/ppc/cpu: constify cpu parameter for ppc_interrupts_little_endian
      target/ppc: implement get_dump_info sysemu op
      target/riscv: implement get_dump_info sysemu op
      target/s390x: implement get_dump_info sysemu op
      target/loongarch: implement get_dump_info sysemu op
      dump: reimplement cpu_get_dump_info using get_dump_info sysemu op
      hw/core/sysemu-cpu-ops: add get_note_size
      target/arm: implement get_note_size sysemu op
      target/i386: implement get_note_size sysemu op
      target/ppc: implement get_note_size sysemu op
      target/riscv: implement get_note_size sysemu op
      target/s390x: implement get_note_size sysemu op
      target/loongarch: implement get_note_size sysemu op
      dump: reimplement cpu_get_note_size using get_note_size sysemu op
      target/arm: rename qmp_query_cpu_model_expansion to qmp_query_arm_cpu_model_expansion
      target/i386: rename qmp_query_cpu_model_expansion to qmp_query_i386_cpu_model_expansion
      target/loongarch: rename to qmp_query_loongarch_cpu_model_expansion
      target/riscv: rename qmp_query_cpu_model_expansion to qmp_query_riscv_cpu_model_expansion
      target/s390x: rename qmp_query_cpu_model_expansion to qmp_query_s390x_cpu_model_expansion
      qmp: reimplement qmp_query_cpu_model_expansion as a dispatcher function

 dump/dump.c                           | 14 ++++++++++----
 hw/core/cpu-system.c                  | 19 +++++++++++++++++++
 hw/core/machine-qmp-cmds.c            | 26 ++++++++++++++++++++++++++
 include/hw/core/cpu.h                 | 24 ++++++++++++++++++++++++
 include/hw/core/sysemu-cpu-ops.h      | 12 ++++++++++++
 include/qemu/target-info.h            |  8 ++++++++
 include/qemu/typedefs.h               |  2 ++
 include/system/dump-arch.h            |  9 ++-------
 include/system/memory_mapping.h       |  4 ++--
 include/system/qmp-cpu.h              | 21 +++++++++++++++++++++
 stubs/dump.c                          | 27 ---------------------------
 stubs/meson.build                     |  2 --
 stubs/qmp-cpu-arm.c                   |  8 ++++++++
 stubs/qmp-cpu-i386.c                  |  8 ++++++++
 stubs/qmp-cpu-loongarch.c             |  8 ++++++++
 stubs/qmp-cpu-riscv.c                 |  8 ++++++++
 stubs/qmp-cpu-s390x.c                 |  8 ++++++++
 stubs/qmp-cpu.c                       | 14 --------------
 target-info.c                         |  6 ++++++
 target/arm/arch_dump.c                | 22 +++++++---------------
 target/arm/arm-qmp-cmds.c             |  7 ++++---
 target/arm/cpu.c                      |  2 ++
 target/arm/internals.h                |  4 ++++
 target/i386/arch_dump.c               | 14 +++++++-------
 target/i386/cpu-internal.h            |  5 +++++
 target/i386/cpu-system.c              |  7 ++++---
 target/i386/cpu.c                     |  2 ++
 target/loongarch/arch_dump.c          |  9 ++++-----
 target/loongarch/cpu.c                |  2 ++
 target/loongarch/internals.h          |  5 +++++
 target/loongarch/loongarch-qmp-cmds.c |  7 ++++---
 target/mips/system/mips-qmp-cmds.c    |  9 ---------
 target/ppc/arch_dump.c                | 18 ++++++------------
 target/ppc/cpu.h                      |  6 +++---
 target/ppc/cpu_init.c                 |  2 ++
 target/ppc/internal.h                 |  7 +++++++
 target/ppc/ppc-qmp-cmds.c             |  9 ---------
 target/riscv/arch_dump.c              | 20 +++++++-------------
 target/riscv/cpu.c                    |  2 ++
 target/riscv/internals.h              |  4 ++++
 target/riscv/riscv-qmp-cmds.c         |  7 ++++---
 target/s390x/arch_dump.c              |  8 ++++----
 target/s390x/cpu-system.c             |  2 ++
 target/s390x/cpu_models_system.c      |  7 ++++---
 target/s390x/s390x-internal.h         |  5 +++++
 45 files changed, 272 insertions(+), 148 deletions(-)
 delete mode 100644 stubs/dump.c
 delete mode 100644 stubs/qmp-cpu.c
Re: [PULL 00/27] multi-target 20261022
Posted by Richard Henderson 1 month ago
On 10/22/26 23:57, Pierrick Bouvier wrote:
> The following changes since commit 4f4225874d4d3747ec1142e935dbd314218992fa:
> 
>    Merge tag 'pull-request-2026-10-22' ofhttps://gitlab.com/thuth/qemu into staging (2026-10-22 12:47:21 +0200)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/p-b-o/qemu tags/pbouvier/pr/multi_target-20261022
> 
> for you to fetch changes up to 0e1015d2959e307fb91637b93339fe7d5ac145fd:
> 
>    qmp: reimplement qmp_query_cpu_model_expansion as a dispatcher function (2026-10-22 20:34:01 +0000)
> 
> ----------------------------------------------------------------
> Changes:
> - [PATCH v5 00/21] multi-target: remove dump functions duplication (Pierrick Bouvier<pierrick.bouvier@oss.qualcomm.com>)
>    Link:https://lore.kernel.org/qemu-devel/20261021181244.867840-1- 
> pierrick.bouvier@oss.qualcomm.com
> - [PATCH 0/6] multi-target: remove qmp_query_cpu_model_expansion (Pierrick Bouvier<pierrick.bouvier@oss.qualcomm.com>)
>    Link:https://lore.kernel.org/qemu-devel/20261016162509.24854-1- 
> pierrick.bouvier@oss.qualcomm.com

Applied, thanks.

r~