tests/qtest/machine-none-test.c | 1 + 1 file changed, 1 insertion(+)
Update the cpu_maps[] to support the LoongArch target.
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
On 7/13/22 07:32, Song Gao wrote:
> Update the cpu_maps[] to support the LoongArch target.
>
> 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)
Queued.
r~
On 7/13/22 07:32, Song Gao wrote: > Update the cpu_maps[] to support the LoongArch target. > > Signed-off-by: Song Gao<gaosong@loongson.cn> > --- > tests/qtest/machine-none-test.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Richard Henderson <richard.henderson@linaro.org> r~
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
>
>
© 2016 - 2026 Red Hat, Inc.