diff --git a/src/proc.sh b/src/proc.sh index a36e5a7..c720812 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -33,9 +33,8 @@ if [[ "$KVM" != [Nn]* ]]; then KVM_OPTS=",accel=kvm -enable-kvm -global kvm-pit.lost_tick_policy=discard" if ! grep -qw "sse4_2" <<< "$flags"; then - info "Your CPU does not have the SSE4 instruction set that Virtual DSM requires, it will be emulated..." - [ -z "$CPU_MODEL" ] && CPU_MODEL="qemu64" - CPU_FEATURES+=",+ssse3,+sse4.1,+sse4.2" + error "Your CPU does not have the SSE4 instruction set that Virtual DSM requires!" + [[ "$DEBUG" != [Yy1]* ]] && exit 88 fi if [ -z "$CPU_MODEL" ]; then diff --git a/src/reset.sh b/src/reset.sh index f569a99..588a74c 100644 --- a/src/reset.sh +++ b/src/reset.sh @@ -166,6 +166,10 @@ if [[ "$KVM" != [Nn]* ]]; then if ! grep -qw "vmx\|svm" <<< "$flags"; then KVM_ERR="(not enabled in BIOS)" fi + if ! grep -qw "sse4_2" <<< "$flags"; then + error "Your CPU does not have the SSE4 instruction set that Virtual DSM requires!" + [[ "$DEBUG" != [Yy1]* ]] && exit 88 + fi fi fi fi