fix: Disable KVM on ARM

This commit is contained in:
Kroese 2023-05-24 23:24:57 +02:00 committed by GitHub
parent 7bc9ccc5fe
commit fde4db348c

View File

@ -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