While I didn’t have any strings to go off of, I did know that the Intel Kernel won’t have the same code. At best, I could only determine that the error message was generated from the framework but nowhere in userspace itself does Apple define a hardcoded 2 VM limit…Īfter a tip from jevinskie on the Hack Different Discord server, I learned that Apple’s guest limitation is implemented somewhere within the closed-source part of XNU (the macOS kernel). However, after many hours of research, I was unable to find where Apple imposed the VM limit. With this, I was able to examine the framework more closely. More information on macOS Frameworks and the dyld shared cache: Battle against on-disk binaries.Due to macOS Big Sur’s dyld merger of frameworks, we’ll need to either extract the framework manually or use tooling such as Hopper Disassembler to load specific binaries embedded in the dyld shared cache. To start, I initially thought this limitation was userspace based and as such would be embedded somewhere within /System/Library/Frameworks/amework. While I cannot officially virtualize more than 2 copies of macOS on a single machine at once for work, I was still interested in figuring out where in macOS Apple embeds these checks and whether hobbyists and researchers could enable support for more than 2 active macOS VMs at once. (iii) to install, use and run up to two (2) additional copies or instances of the Apple Software, or any prior macOS or OS X operating system software or subsequent release of the Apple Software, within virtual operating system environments on each Apple-branded computer you own or control that is already running the Apple Software, for purposes of: (a) software development (b) testing during software development (c) using macOS Server or (d) personal, non-commercial use. SOFTWARE LICENSE AGREEMENT FOR macOS Ventura.The main reason for this error comes from macOS’ SLA, section 2.B.iii: The maximum supported number of active virtual machines has been reached. The number of virtual machines exceeds the limit. This is most commonly seen with this error, generated by amework: However, not long after doing a lot of development and testing using Apple’s VM stack (through the amazing project, UTM), I found a very frustrating limitation: Apple Silicon hosts can only have a maximum of 2 macOS guest VMs active at once. One of the areas I’ve been working quite a bit with is macOS Virtual Machines, specifically Apple Silicon Virtual Machines based on Apple’s Virtualization framework.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |