summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSong Gao2022-07-13 04:02:58 +0200
committerThomas Huth2022-07-18 20:24:36 +0200
commite18f27d9ed6132b774910e6ce6999cfc59822e67 (patch)
treeb867d0fb6e2d729ad748735210d65ea8baf210b7 /tests
parenttests/vm: Remove docker cross-compile test from CentOS VM (diff)
downloadqemu-e18f27d9ed6132b774910e6ce6999cfc59822e67.tar.gz
qemu-e18f27d9ed6132b774910e6ce6999cfc59822e67.tar.xz
qemu-e18f27d9ed6132b774910e6ce6999cfc59822e67.zip
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)