diff --git a/src/proc.sh b/src/proc.sh index c73760a..d56b7b5 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -8,7 +8,10 @@ set -Eeuo pipefail : "${CPU_MODEL:=""}" : "${DEF_MODEL:="neoverse-n1"}" -[[ "${ARCH,,}" != "arm"* ]] && KVM="N" + if [[ "${ARCH,,}" != "arm64" ]]; then + KVM="N" + warn "your CPU architecture is ${ARCH} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance." +fi if [[ "$KVM" != [Nn]* ]]; then