runOver9P.sh: enable kvm only if $JEHANNE_KVM=enable
This commit is contained in:
parent
25a0786488
commit
63f39e4245
|
@ -17,7 +17,7 @@ $JEHANNE/hacking/bin/nc -p 5640 -l -e $JEHANNE/hacking/bin/start-u9fs.sh &
|
|||
ufspid=$!
|
||||
|
||||
export machineflag=pc
|
||||
if [ "$(uname)" = "Linux" ] && [ -e /dev/kvm ]; then
|
||||
if [ "$JEHANNE_KVM" = "enable" ] && [ "$(uname)" = "Linux" ] && [ -e /dev/kvm ]; then
|
||||
export kvmflag='-enable-kvm'
|
||||
export machineflag='pc,accel=kvm'
|
||||
if [ ! -w /dev/kvm ]; then
|
||||
|
|
Loading…
Reference in New Issue