target/loongarch: Use generic cpu_list()
authorGavin Shan <gshan@redhat.com>
Tue, 14 Nov 2023 23:56:10 +0000 (09:56 +1000)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 5 Jan 2024 15:20:14 +0000 (16:20 +0100)
commit979bf44af8483cedc00c63b3e79407de08e75a30
tree7b3c8c32b23a6e57304e2adfdb28e2f9dec44dec
parentd33fc716dc7407c5feb7f8a73d0b977540f8ffd0
target/loongarch: Use generic cpu_list()

Before it's applied:

[gshan@gshan q]$ ./build/qemu-system-loongarch64 -cpu ?
la132-loongarch-cpu
la464-loongarch-cpu
max-loongarch-cpu

After it's applied:

[gshan@gshan q]$ ./build/qemu-system-loongarch64 -cpu ?
Available CPUs:
  la132
  la464
  max

Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231114235628.534334-14-gshan@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
target/loongarch/cpu.c
target/loongarch/cpu.h