qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] qtest/machine-none: Add LoongArch support


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] qtest/machine-none: Add LoongArch support
Date: Wed, 13 Jul 2022 08:06:17 +0200

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

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

> Signed-off-by: Song Gao <gaosong@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

[Prev in Thread] Current Thread [Next in Thread]