On 4/22/25 07:54, Philippe Mathieu-Daudé wrote:
Since commit 62b4a227a33 the default cpu type can come from the
valid_cpu_types[] array. Call the machine_class_default_cpu_type()
instead of accessing MachineClass::default_cpu_type field.
Cc: qemu-sta...@nongnu.org
Fixes: 62b4a227a33 ("hw/core: Add machine_class_default_cpu_type()")
Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org>
---
Cc: Gavin Shan <gs...@redhat.com>
---
hw/core/machine-qmp-cmds.c | 5 +++--
target/ppc/cpu_init.c | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~