feat: Multi-platform support

This commit is contained in:
Kroese 2023-05-25 03:59:44 +02:00 committed by GitHub
parent 5eca0bb92f
commit 1287cf2b47

View file

@ -50,8 +50,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