diff --git a/src/proc.sh b/src/proc.sh index 52e08310..fca56139 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -33,9 +33,13 @@ if [[ "$KVM" != [Nn]* ]]; then if [[ "$OSTYPE" =~ ^darwin ]]; then warn "you are using MacOS which has no KVM support, this will cause a major loss of performance." else - error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance." - error "See the FAQ on how to enable it, or continue without KVM by setting KVM=N (not recommended)." - [[ "$DEBUG" != [Yy1]* ]] && exit 88 + if grep -qi Microsoft /proc/version; then + warn "you are using Windows 10 which has no KVM support, this will cause a major loss of performance." + else + error "KVM acceleration not available $KVM_ERR, this will cause a major loss of performance." + error "See the FAQ on how to enable it, or continue without KVM by setting KVM=N (not recommended)." + [[ "$DEBUG" != [Yy1]* ]] && exit 88 + fi fi fi