mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-12-14 06:10:32 +08:00
KVM detection
This commit is contained in:
@@ -53,7 +53,7 @@ else
|
|||||||
[ -e /dev/kvm ] && KVM_ERR="(no write access)" || KVM_ERR="(device file missing)"
|
[ -e /dev/kvm ] && KVM_ERR="(no write access)" || KVM_ERR="(device file missing)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${KVM_ERR}" ]; then
|
if [ ! -z "${KVM_ERR}" ]; then
|
||||||
echo "Error: KVM acceleration not detected ${KVM_ERR}, please enable it."
|
echo "Error: KVM acceleration not detected ${KVM_ERR}, please enable it."
|
||||||
[ "$DEBUG" != "Y" ] && exit 88
|
[ "$DEBUG" != "Y" ] && exit 88
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user