On Wed, Jul 13, 2022 at 4:05 AM Song Gao <gaos...@loongson.cn> wrote:
>
> Update the cpu_maps[] to support the LoongArch target.
>

Reported-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

> Signed-off-by: Song Gao <gaos...@loongson.cn>
> ---
>  tests/qtest/machine-none-test.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/qtest/machine-none-test.c b/tests/qtest/machine-none-test.c
> index d0f8cd9902..f92fab479f 100644
> --- a/tests/qtest/machine-none-test.c
> +++ b/tests/qtest/machine-none-test.c
> @@ -54,6 +54,7 @@ static struct arch2cpu cpus_map[] = {
>      { "riscv64", "rv64" },
>      { "riscv32", "rv32" },
>      { "rx", "rx62n" },
> +    { "loongarch64", "la464"},
>  };
>
>  static const char *get_cpu_model_by_arch(const char *arch)
> --
> 2.31.1
>
>

Reply via email to