summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2022-07-13 10:02:58 +0800
committerThomas Huth <thuth@redhat.com>2022-07-18 20:24:36 +0200
commite18f27d9ed6132b774910e6ce6999cfc59822e67 (patch)
treeb867d0fb6e2d729ad748735210d65ea8baf210b7 /tests
parent28a48ed5f7bdbddb6955f732402ca9f51e56b23a (diff)
qtest/machine-none: Add LoongArch support
Update the cpu_maps[] to support the LoongArch target. Signed-off-by: Song Gao <gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220713020258.601424-1-gaosong@loongson.cn> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/qtest/machine-none-test.c1
1 files changed, 1 insertions, 0 deletions
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)