summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSong Gao2022-07-05 08:59:42 +0200
committerRichard Henderson2022-07-05 12:47:53 +0200
commitf8d1ae82623fef4e7fb796efbaaa2ddc63594d09 (patch)
treea6c9832462720346ff679a247497fef90813ee49 /scripts
parenttarget/loongarch: Clean up tlb when cpu reset (diff)
downloadqemu-f8d1ae82623fef4e7fb796efbaaa2ddc63594d09.tar.gz
qemu-f8d1ae82623fef4e7fb796efbaaa2ddc63594d09.tar.xz
qemu-f8d1ae82623fef4e7fb796efbaaa2ddc63594d09.zip
scripts/qemu-binfmt-conf: Add LoongArch to qemu_get_family()
qemu_get_family() needs to add LoongArch support. Signed-off-by: Song Gao <gaosong@loongson.cn> Message-Id: <20220705065943.2353930-1-gaosong@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qemu-binfmt-conf.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
index 1f4e2cd19d..6ef9f118d9 100755
--- a/scripts/qemu-binfmt-conf.sh
+++ b/scripts/qemu-binfmt-conf.sh
@@ -171,6 +171,9 @@ qemu_get_family() {
riscv*)
echo "riscv"
;;
+ loongarch*)
+ echo "loongarch"
+ ;;
*)
echo "$cpu"
;;