From 6b9953d3e737a40683eb3d626d3080572ab34c0c Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Mon, 20 May 2024 23:14:08 -0700 Subject: [PATCH] Don't unnecessarily add CPU flags for macOS guests on intel hosts --- src/qemu_args/guest_os.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu_args/guest_os.rs b/src/qemu_args/guest_os.rs index f86c01a..212cd5c 100644 --- a/src/qemu_args/guest_os.rs +++ b/src/qemu_args/guest_os.rs @@ -79,7 +79,7 @@ impl GuestOS { Self::KolibriOS | Self::ReactOS => "qemu32".to_string(), Self::MacOS { release } => { if vendor == "GenuineIntel" { - macos_cpu_flags("host") + default_cpu() } else if release >= &MacOSRelease::Ventura { macos_cpu_flags("Haswell-v2,vendor=GenuineIntel,+avx,+avx2,+sse,+sse2,+ssse3,+sse4.1,+sse4.2,+rdtscp") } else if release >= &MacOSRelease::Catalina {