summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 11b8c6e45c..cef71712e7 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -184,12 +184,12 @@ while [ $i -le $# ]; do
184 i=$((i + 1)) 184 i=$((i + 1))
185done 185done
186 186
187POKY_KVM_WIKI="https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu" 187YOCTO_KVM_WIKI="https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu"
188# Detect KVM configuration 188# Detect KVM configuration
189if [[ "x$KVM_ENABLED" == "xyes" ]]; then 189if [[ "x$KVM_ENABLED" == "xyes" ]]; then
190 if [[ -z "$KVM_CAPABLE" ]]; then 190 if [[ -z "$KVM_CAPABLE" ]]; then
191 echo "You are tring to enable KVM on cpu without VT support. Remove kvm from the command-line, or refer"; 191 echo "You are tring to enable KVM on cpu without VT support. Remove kvm from the command-line, or refer";
192 echo "$POKY_KVM_WIKI"; 192 echo "$YOCTO_KVM_WIKI";
193 exit 1; 193 exit 1;
194 fi 194 fi
195 if [[ "x$MACHINE" != "xqemux86" && "x$MACHINE" != "xqemux86-64" ]]; then 195 if [[ "x$MACHINE" != "xqemux86" && "x$MACHINE" != "xqemux86-64" ]]; then
@@ -198,14 +198,14 @@ if [[ "x$KVM_ENABLED" == "xyes" ]]; then
198 fi 198 fi
199 if [ ! -e /dev/kvm ]; then 199 if [ ! -e /dev/kvm ]; then
200 echo "Missing KVM device. Have you inserted kvm modules? Pls. refer"; 200 echo "Missing KVM device. Have you inserted kvm modules? Pls. refer";
201 echo "$POKY_KVM_WIKI"; 201 echo "$YOCTO_KVM_WIKI";
202 exit 1; 202 exit 1;
203 fi 203 fi
204 if 9<>/dev/kvm ; then 204 if 9<>/dev/kvm ; then
205 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -enable-kvm" 205 SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -enable-kvm"
206 else 206 else
207 echo "You have no rights on /dev/kvm. Pls. change the owndership as described at"; 207 echo "You have no rights on /dev/kvm. Pls. change the owndership as described at";
208 echo "$POKY_KVM_WIKI"; 208 echo "$YOCTO_KVM_WIKI";
209 exit 1; 209 exit 1;
210 fi 210 fi
211fi 211fi