KVM check

This commit is contained in:
Kroese 2023-05-19 16:50:51 +02:00 committed by GitHub
parent 578d988c6b
commit 384a3ad042

View File

@ -62,7 +62,7 @@ fi
if [ -n "${KVM_ERR}" ]; then if [ -n "${KVM_ERR}" ]; 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
else else
KVM_OPTS=",accel=kvm -enable-kvm -cpu host" KVM_OPTS=",accel=kvm -enable-kvm -cpu host"
fi fi