mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
KVM detection
This commit is contained in:
parent
91b808db26
commit
11e3355e60
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user