]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/cpu.c
target: Use generic cpu_model_from_type()
authorGavin Shan <gshan@redhat.com>
Tue, 14 Nov 2023 23:56:19 +0000 (09:56 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:14 +0000 (16:20 +0100)
commit4b26aa9f3a9a1f1e84f95e7462d1b3d893315b91
tree0911bee981733b7fa4e0b3c08860fc2671567cbf
parentf08f4c8ea46817e8efaad0f36434631b93f86645
target: Use generic cpu_model_from_type()

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 <gshan@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20231114235628.534334-23-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/arm/arm-qmp-cmds.c
target/i386/cpu.c
target/loongarch/loongarch-qmp-cmds.c
target/mips/sysemu/mips-qmp-cmds.c
target/ppc/cpu_init.c
target/ppc/ppc-qmp-cmds.c
target/riscv/cpu.c
target/riscv/riscv-qmp-cmds.c