Replace POKY_KVM_WIKI -> YOCTO_KVM_WIKI
(From OE-Core rev: 416e76102fdef606a0459351b85d4f7b30729114) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7469527855
commit
e7126c1e53
|
@ -184,12 +184,12 @@ while [ $i -le $# ]; do
|
|||
i=$((i + 1))
|
||||
done
|
||||
|
||||
POKY_KVM_WIKI="https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu"
|
||||
YOCTO_KVM_WIKI="https://wiki.yoctoproject.org/wiki/How_to_enable_KVM_for_Poky_qemu"
|
||||
# Detect KVM configuration
|
||||
if [[ "x$KVM_ENABLED" == "xyes" ]]; then
|
||||
if [[ -z "$KVM_CAPABLE" ]]; then
|
||||
echo "You are tring to enable KVM on cpu without VT support. Remove kvm from the command-line, or refer";
|
||||
echo "$POKY_KVM_WIKI";
|
||||
echo "$YOCTO_KVM_WIKI";
|
||||
exit 1;
|
||||
fi
|
||||
if [[ "x$MACHINE" != "xqemux86" && "x$MACHINE" != "xqemux86-64" ]]; then
|
||||
|
@ -198,14 +198,14 @@ if [[ "x$KVM_ENABLED" == "xyes" ]]; then
|
|||
fi
|
||||
if [ ! -e /dev/kvm ]; then
|
||||
echo "Missing KVM device. Have you inserted kvm modules? Pls. refer";
|
||||
echo "$POKY_KVM_WIKI";
|
||||
echo "$YOCTO_KVM_WIKI";
|
||||
exit 1;
|
||||
fi
|
||||
if 9<>/dev/kvm ; then
|
||||
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -enable-kvm"
|
||||
else
|
||||
echo "You have no rights on /dev/kvm. Pls. change the owndership as described at";
|
||||
echo "$POKY_KVM_WIKI";
|
||||
echo "$YOCTO_KVM_WIKI";
|
||||
exit 1;
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue