On 3/23/25 15:40, Philippe Mathieu-Daudé wrote:
'cpu_list' might be defined per target, and force code to be
built per-target. We can avoid that by introducing a CPUClass
callback.
This series combined with another which converts CPU_RESOLVING_TYPE
to a runtime helper, allows to move most of cpu-target to common.
Philippe Mathieu-Daudé (6):
cpus: Introduce CPUClass::list_cpus() callback
target/i386: Register CPUClass:list_cpus
target/ppc: Register CPUClass:list_cpus
target/sparc: Register CPUClass:list_cpus
target/sparc: Register CPUClass:list_cpus
cpus: Remove #ifdef check on cpu_list definition
Modulo the s390x niggles Thomas pointed out,
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~