fix disable KVM on arch architecture

This commit is contained in:
giper45 2024-12-06 15:40:39 +01:00
parent 1091fc9dca
commit 2e59160b02

View file

@ -24,7 +24,7 @@ if [[ "$CPU" == "Rockchip RK3588"* ]] && [[ "$CORES" == "8" ]]; then
[ -z "$CPU_PIN" ] && CPU_PIN="4,5,6,7"
fi
if [[ "${ARCH,,}" != "arm64" ]]; then
if [[ "${ARCH,,}" == "arm64" ]]; then
KVM="N"
warn "your CPU architecture is ${ARCH^^} and cannot provide KVM acceleration for ARM64 instructions, this will cause a major loss of performance."
fi