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 fi
if [ -n "${KVM_ERR}" ]; then if [ -n "${KVM_ERR}" ]; then
if [ "$ARCH" == "amd64" ]; then
error "KVM acceleration not detected ${KVM_ERR}, see the FAQ about this." error "KVM acceleration not detected ${KVM_ERR}, see the FAQ about this."
[[ "${DEBUG}" != [Yy1]* ]] && exit 88 [[ "${DEBUG}" != [Yy1]* ]] && exit 88
fi
else else
KVM_OPTS=",accel=kvm -enable-kvm -cpu host" KVM_OPTS=",accel=kvm -enable-kvm -cpu host"
fi fi