From 1287cf2b47641f996f5576e78e373b011737fa1c Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 25 May 2023 03:59:44 +0200 Subject: [PATCH] feat: Multi-platform support --- run/run.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run/run.sh b/run/run.sh index eed122c..0a4125d 100755 --- a/run/run.sh +++ b/run/run.sh @@ -50,8 +50,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