On 11/14/23 15: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 <[email protected]>
---
  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: Richard Henderson <[email protected]>


r~

Reply via email to