mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Fix MacOS error
This commit is contained in:
parent
af8e8384df
commit
07ccd493e4
2
run.sh
2
run.sh
@ -25,6 +25,8 @@ source /run/power.sh
|
||||
|
||||
[ -z "${KVM_MON_OPTS}" ] && echo "Error: Failed to setup monitor..." && exit 87
|
||||
|
||||
KVM_ACC_OPTS=""
|
||||
|
||||
if [ -e /dev/kvm ] && sh -c 'echo -n > /dev/kvm' &> /dev/null; then
|
||||
if [[ $(grep -e vmx -e svm /proc/cpuinfo) ]]; then
|
||||
KVM_ACC_OPTS=",accel=kvm,usb=off -cpu host -enable-kvm"
|
||||
|
Loading…
x
Reference in New Issue
Block a user