From bacb0377285ce065a2330a63b1f177c7f726744c Mon Sep 17 00:00:00 2001 From: Alex Genovese Date: Sat, 27 Apr 2024 09:58:10 +0200 Subject: [PATCH] urgent fix for sonoma and #1114 (cherry picked from commit 960c34eca929aa8d93eceafe2d8ad5a87d2b1652) --- quickemu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickemu b/quickemu index 4b85a4b..8dc3c50 100755 --- a/quickemu +++ b/quickemu @@ -528,8 +528,8 @@ function vm_boot() { # A CPU with AVX2 support is required for >= macOS Ventura case ${macos_release} in ventura|sonoma) - if check_cpu_flag sse4_1 && check_cpu_flag avx2; then - CPU="-cpu Broadwell-noTSX-IBRS,kvm=on,vendor=GenuineIntel,+sse,+sse4.1,+avx,+avx2,+hypervisor,+popcnt,+aes,+xsave,+xsavec,+xsaveopt,+xgetbv1,+bmi1,+bmi2,+smep,+fma,+movbe,+invtsc" + if check_cpu_flag sse4_2 && check_cpu_flag avx2; then + CPU="-cpu Haswell-noTSX-IBRS,kvm=on,vendor=GenuineIntel,+sse3,+sse4.2,+aes,+xsave,+avx,+xsaveopt,+xsavec,+xgetbv1,+avx2,+bmi2,+smep,+bmi1,+fma,+movbe,+invtsc" else echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support." exit 1