jafd Posted August 12, 2019 Share Posted August 12, 2019 I have a successfully setup macOS in a QEMU VM. bochs-display works splendidly given Apple has kexts to support it, and passing through my AMD GPU works too. However, I cannot even boot the thing if I specify my CPU to be Haswell or above. There is nothing in the console, nothing in NVRAM, nothing nowhere, no panic too, just freeze. Clover starts loading kernel, and that's it. The host is Kaby Lake, so I doubt the CPU is incapable. I'm at a loss as to what to even check for. Fake CPU ID? Some kernel flags? Were there any crucial MSRs that appeared? (kernel and QEMU are set to ignore MSR writes) Link to comment Share on other sites More sharing options...
Leoyzen Posted October 8, 2019 Share Posted October 8, 2019 The clover limit the choice of cpu model, you can't use newer than ivy bridge.You can use opencore instead then passtbrough or any newer model will work in kvm. Link to comment Share on other sites More sharing options...
qemu_mac Posted November 3, 2019 Share Posted November 3, 2019 I have it working with IvyBridge, any newer CPU will completely fail to boot with black screen. Maybe there's a way around that, but I'm yet to find it... With IvyBridge you'll be limited to 4cores/2threads with a total of 8 vcpu allocation. You'll need to apply a kernel patch that turns off topology validation. The patch below is for catalina. If you are running an older version you can grab it here:https://github.com/AMD-OSX/AMD_Vanilla/blob/master/17h/patches.plist Good luck. <key>KernelAndKextPatches</key> <dict> <key>KernelToPatch</key> <array> <dict> <key>Comment</key> <string>xlnc - cpu_topology_sort -disable _x86_validate_topology</string> <key>Disabled</key> <false/> <key>Find</key> <data> 6PT1//+c </data> <key>MatchOS</key> <string>10.15.x</string> <key>Replace</key> <data> Dx9EAACc </data> </dict> </array> </dict> Link to comment Share on other sites More sharing options...
Recommended Posts