Skip to content

cpus: Replace CPU_RESOLVING_TYPE -> target_cpu_type()

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7qemu: Introduce target_cpu_type()MAINTAINERS include/qemu/target_info.h meson.build +1 more+39 -00 replies
2/7cpus: Replace CPU_RESOLVING_TYPE -> target_cpu_type()accel/accel-target.c accel/tcg/tcg-all.c cpu-target.c+11 -70 replies
3/7cpus: Move target-agnostic methods out of cpu-target.ccpu-target.c hw/core/cpu-common.c+75 -760 replies
4/7accel: Implement accel_init_ops_interfaces() for both system/user modeMAINTAINERS accel/accel-internal.h accel/accel-system.c +2 more+15 -150 replies
5/7accel: Include missing 'qemu/accel.h' header in accel-internal.haccel/accel-internal.h+2 -00 replies
6/7accel: Make AccelCPUClass structure target-agnosticaccel/accel-target.c include/accel/accel-cpu-target.h include/accel/accel-cpu.h+24 -120 replies
7/7accel: Move target-agnostic code from accel-target.c -> accel-common.caccel/accel-common.c accel/accel-target.c accel/meson.build+143 -1290 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierrick BouvierRichard Henderson
SeriesR-b
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] cpus: Replace CPU_RESOLVING_TYPE -> target_cpu_type()

(Series fully reviewed, I plan to queue it via my tree)

This series replace the target-specific CPU_RESOLVING_TYPE by calls to the target-agnostic target_cpu_type() method.

Since RFCv1:
- Split from bigger/unrelated TargetInfo series (Pierrick)
- Added Pierrick R-b tags
- Added commit descriptions

Philippe Mathieu-Daudé (7):
qemu: Introduce target_cpu_type()
cpus: Replace CPU_RESOLVING_TYPE -> target_cpu_type()
cpus: Move target-agnostic methods out of cpu-target.c
accel: Implement accel_init_ops_interfaces() for both system/user mode
accel: Include missing 'qemu/accel.h' header in accel-internal.h
accel: Make AccelCPUClass structure target-agnostic
accel: Move target-agnostic code from accel-target.c -> accel-common.c

 MAINTAINERS                                |   4 +-
 meson.build                                |   2 +
 accel/{accel-system.h => accel-internal.h} |  10 +-
 include/accel/accel-cpu-target.h           |  12 +-
 include/accel/accel-cpu.h                  |  23 ++++
 include/qemu/target_info.h                 |  19 +++
 accel/accel-common.c                       | 142 +++++++++++++++++++++
 accel/accel-system.c                       |   4 +-
 accel/accel-target.c                       | 134 -------------------
 accel/accel-user.c                         |   6 +
 accel/tcg/tcg-all.c                        |   5 +-
 cpu-target.c                               |  76 +----------
 hw/core/cpu-common.c                       |  74 +++++++++++
 target_info-defs.c                         |  16 +++
 accel/meson.build                          |   1 +
 15 files changed, 299 insertions(+), 229 deletions(-)
 rename accel/{accel-system.h => accel-internal.h} (56%)
 create mode 100644 include/accel/accel-cpu.h
 create mode 100644 include/qemu/target_info.h
 create mode 100644 accel/accel-common.c
 create mode 100644 target_info-defs.c
Signature · 1 line
2.47.1