On 15/11/23 00:56, Gavin Shan wrote:
Use generic cpu_model_from_type() when the CPU model name needs to
be extracted from the CPU type name.

Signed-off-by: Gavin Shan <gs...@redhat.com>
---
  target/arm/arm-qmp-cmds.c             | 3 +--
  target/i386/cpu.c                     | 3 +--
  target/loongarch/loongarch-qmp-cmds.c | 3 +--
  target/mips/sysemu/mips-qmp-cmds.c    | 3 +--
  target/ppc/cpu_init.c                 | 3 +--
  target/ppc/ppc-qmp-cmds.c             | 3 +--
  target/riscv/cpu.c                    | 3 +--
  target/riscv/riscv-qmp-cmds.c         | 3 +--
  8 files changed, 8 insertions(+), 16 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to