Live data from Hacker News

VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

github.com

61–65 of 65 posts

Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

#61
post #33

Earlier quoted context omitted.

Oddly enough, I was a ThreadRipper early adopter and for me macOS was more stable than everything else. I dual booted macOS and Slackware current on it from 2017 until early this year. That machine is retired now.

It's a bit peculiar but yeah, if you find a hardware combination that macOS "likes", it can be surprisingly solid. Back in the early 2010s I had one laptop that no version of Windows or Linux distribution particularly liked, but ran great with hackintoshed 10.6-10.9. The only way to make it usable in other operating systems was to disable GPU power management under Windows, which turned it into an oven, or to run Nou…

Yeah, I increasingly believe every OS is picky. People are just accustomed to a lot of things never working quite right, to the extent that they sometimes don't even notice.

Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

#62
post #24

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.

This has been around for a while, but I recall it was incredibly slow compared to even qemu. Has that improved?

New as of WWDC22

Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

#64
post #25
post #3

Earlier 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…

To ease execution of x86₆₄ applications on Apple Silicon the Apple processor team implemented the x86 memory model with a series of additional experiences.

Re: VirtualBuddy: Virtualize macOS 12 and later on Apple Silicon

#65
post #62

Earlier quoted context omitted.

This has been around for a while, but I recall it was incredibly slow compared to even qemu. Has that improved?

New as of WWDC22

Virtualization.framework exists since Big Sur?

https://developer.apple.com/documentation/virtualization

Post reply on HN