KhaosT / MacVM

macOS VM for Apple Silicon using Virtualization API
Apache License 2.0
1.31k stars 95 forks source link

Fix for multiple display use while creating a VM #35

Closed miked2318 closed 2 years ago

miked2318 commented 2 years ago

This should get you past the bug with multiple displays connected to the system when creating the VM per https://github.com/KhaosT/MacVM/issues/29. I've tested this change on a Mac Studio with two displays connected under 12.4. With the original code, I could not create a VM. With the change, I've created ~5 this afternoon.

KhaosT commented 2 years ago

Thank you~