From e8e51c6e0333f5e375ad081ac0205ac5fad119eb Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 24 May 2023 23:24:57 +0200 Subject: [PATCH] fix: Disable KVM on ARM --- run/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run/run.sh b/run/run.sh index 94ba2e45..7be661de 100755 --- a/run/run.sh +++ b/run/run.sh @@ -62,8 +62,10 @@ else fi if [ -n "${KVM_ERR}" ]; then - error "KVM acceleration not detected ${KVM_ERR}, see the FAQ about this." - [[ "${DEBUG}" != [Yy1]* ]] && exit 88 + if [ "$ARCH" == "amd64" ]; then + error "KVM acceleration not detected ${KVM_ERR}, see the FAQ about this." + [[ "${DEBUG}" != [Yy1]* ]] && exit 88 + fi else KVM_OPTS=",accel=kvm -enable-kvm -cpu host" fi