From d302b4b3b0131a1806fac93fdaca81693c9450a2 Mon Sep 17 00:00:00 2001 From: Kroese Date: Wed, 29 Oct 2025 08:25:19 +0100 Subject: [PATCH] feat: Check for SSE4 instruction set Replace info message with error handling for missing SSE4 support. --- src/proc.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/proc.sh b/src/proc.sh index a36e5a7..e34ac76 100644 --- a/src/proc.sh +++ b/src/proc.sh @@ -33,9 +33,7 @@ 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!" && exit 88 fi if [ -z "$CPU_MODEL" ]; then