urgent fix for sonoma and #1114

This commit is contained in:
Alex Genovese 2024-04-27 09:58:10 +02:00
parent 9cd8938608
commit 960c34eca9
No known key found for this signature in database
GPG Key ID: FA10EA6851CA059B
1 changed files with 2 additions and 2 deletions

View File

@ -528,8 +528,8 @@ function vm_boot() {
# A CPU with AVX2 support is required for >= macOS Ventura # A CPU with AVX2 support is required for >= macOS Ventura
case ${macos_release} in case ${macos_release} in
ventura|sonoma) ventura|sonoma)
if check_cpu_flag sse4_1 && check_cpu_flag avx2; then if check_cpu_flag sse4_2 && 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" 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 else
echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support." echo "ERROR! macOS ${macos_release} requires a CPU with SSE 4.1 and AVX2 support."
exit 1 exit 1