Re: [PATCH 17/20] cpus: Have cpu_class_init_props() per user / system emulation

Richard Henderson
2025-01-26T21:18:57Z

On 1/23/25 15:44, Philippe Mathieu-Daudé wrote:
> Rather than maintaining a mix of system / user code for CPU
> class properties, move system properties to cpu-system.c
> and user ones to the new cpu-user.c unit.
>
> Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
> ---
> cpu-target.c | 58 --------------------------------------------
> hw/core/cpu-system.c | 40 ++++++++++++++++++++++++++++++
> hw/core/cpu-user.c | 27 +++++++++++++++++++++
> hw/core/meson.build | 5 +++-
> 4 files changed, 71 insertions(+), 59 deletions(-)
> create mode 100644 hw/core/cpu-user.c

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~