Multi-platform support

Multi-platform support
This commit is contained in:
Kroese 2023-05-25 04:00:47 +02:00 committed by GitHub
commit c2eebca9a3

View file

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