diff --git a/src/proc.sh b/src/proc.sh index fca5613..37e3d6e 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -9,7 +9,10 @@ set -Eeuo pipefail : "${CPU_MODEL:=""}" : "${DEF_MODEL:="qemu64"}" -[[ "${ARCH,,}" != "amd64" ]] && KVM="N" +if [[ "${ARCH,,}" != "amd64" ]]; then + KVM="N" + warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for x64 instructions, this will cause a major loss of performance." +fi if [[ "$KVM" != [Nn]* ]]; then