Apple provides their own hypervisor framework and virtualization framework. Roughly 50 lines of code and you can boot up a mac vm which they support.
Any tutorials for this?
VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
31–40 of 65 posts
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#32This looks like a better open-source option: https://github.com/KhaosT/MacVM
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#33anyone know if any progress has been made on running hackintosh on amd chips like epyc or threadripper?
AFAIK it's been possible for a while. I ran it on my first gen Ryzen 1700X and I've seen multiple threadripper builds
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#34Does Rosetta still work in the virtualized MacOS when using Apple’s virtualization framework?
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#35Apple provides their own hypervisor framework and virtualization framework. Roughly 50 lines of code and you can boot up a mac vm which they support.
Except, of course, this tool also adds a GUI and easy configuration options.
[1]: https://github.com/insidegui/VirtualBuddy/blob/main/VirtualC...
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#36Earlier quoted context omitted.
There are additional instructions only available on Apple chips beyond the aarch64 standard, so I don't think that this could be done in hardware (someone correct me if I'm wrong because this isn't my area) Of course it's possible in software in principle but obviously that would be awful.
Apple has their own custom conventions and ABI ( https://developer.apple.com/documentation/xcode/writing-arm6... ). I believe you are right that they have their own custom instructions too. The asahi Linux project has good documentation on their wiki about the hardware. Also important here is the bespoke ASIC functionality on their CPUs - as it's a system on chip, you'll likely need to emulate the full SoC, including…
I think we've been somewhat spoilt by x86 and how easy loads of different machines will boot the same OS image. It's really really different in ARM land.
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#37Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#38Anyone using Parallels to virtualize MacOS on M1 Macs?
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#39Earlier quoted context omitted.
Yes: Just now I checked TextEdit's "Open with Rosetta" box in Get Info, launched it, and saw it come up as an Intel process in Activity Monitor. This was in a Ventura beta 2 VM run with Apple's virtualization sample project: https://developer.apple.com/documentation/virtualization/run...
One limitation I have observed is that this VM can't host another VM itself.
Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon
#40Is virtualizing aarch64 macos via qemu on aarch64 Linux within the realm of possibility? I know it can be done for x86-64, but would be pretty cool if an aarch64 kvm hackintosh would be possible. I have an Nvidia Jetson AGX and honeycomb lx2 which in theory could be up to the task.
There are additional instructions only available on Apple chips beyond the aarch64 standard, so I don't think that this could be done in hardware (someone correct me if I'm wrong because this isn't my area) Of course it's possible in software in principle but obviously that would be awful.
macOS VMs eschew most apple extensions anyway (no AMX there for example).
The big roadblock that we've hit is that arm64 macOS has no software rasteriser for rendering the GUI. The result is that unless you implement Metal and the paravirtualised GPU infrastructure, you're stuck in console mode.