fix disable KVM on arch architecture
This commit is contained in:
parent
1091fc9dca
commit
2e59160b02
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ if [[ "$CPU" == "Rockchip RK3588"* ]] && [[ "$CORES" == "8" ]]; then
|
||||||
[ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7"
|
[ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${ARCH,,}" != "arm64" ]]; then
|
if [[ "${ARCH,,}" == "arm64" ]]; then
|
||||||
KVM="N"
|
KVM="N"
|
||||||
warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."
|
warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue