Live data from Hacker News

Osx-kvm: Run macOS on QEMU/KVM

github.com

81–90 of 111 posts

Re: Osx-kvm: Run macOS on QEMU/KVM

#81
post #78

I've been running my macOS desktop in an ESXi VM for over a year now. I came from a hackintosh, but got tired of the fragility of some upgrades. Some notes on this setup: - Apple supports macOS running inside of ESXi. Officially, only on Apple host hardware (i.e. a Mac Pro, which is on the ESXi compatibility list). Apple even ships a VMXNet3 network driver in macOS. - For ESXi specifically, you have to patch the host…

I remember a long time ago (maybe close to a decade?) I was looking into this a bit because I was interested in iPhone dev, and the requirement that that toolchain use Mac hardware was hard for me to swallow. It still seemed fairly hacky at that point, and ultimately I wasn't willing to shell out hundreds of dollars for a dev license and hardware just to see if it was worth it and I wasn't willing to go that far into…

ESXi has a free license, but it is a type 1 hypervisor (basically an OS that just runs VMs).

VMWare Workstation can be patched to run vanilla macOS installs too, but unless you're running it under a boot camp'ed Windows on real Apple hardware, it's a license violation: https://github.com/DrDonk/unlocker

You can't buy individual macOS licenses these days, as far as I know. Apple hasn't charged for macOS or updates for at least a few years now. Their license text includes references to volume licensing, but I guess that's for very large-scale companies with direct contacts.

Re: Osx-kvm: Run macOS on QEMU/KVM

#82
post #58

Earlier quoted context omitted.

Sorry. I probably shouldn't have called it HWID, but the fact is: App Store account that I've registered using said VM was after about a months limited so I unable to use it. So I came to conclusion they detected it's was used on VM and limited it. PS: And yeah I tried to use another new store account that also stuck in same state.

I guess it's because you used the same image as many other people?.. Which brings me to the question: was it an install disk image, or a pre-installed, ready-to-go OS image? Can you install a fresh OS from an install disk?

I used pre-installed image, but I converted one for VMWare simply since it's easier and I don't care of security implications for this particular VM.

> Can you install a fresh OS from an install disk?

Yes of course you can. It's explained on GitHub.

Re: Osx-kvm: Run macOS on QEMU/KVM

#83
post #64

Earlier quoted context omitted.

In theory this should be possible on Google Cloud using nested virtualization or EC2 bare metal...

If you find me funding, I could give you CI for mobile app development, a decent MVP, in 3 months (which is me taking how long i think it takes and multiplying by 3) :P But, like a previous poster said, it _WOULD_ be in violation of Apple's ToS. So a legal budget would be required.

We actually need something like this internally for non mobile app reasons. We build telepresence.io at Datawire and macOS dev and testing is a huge pain. Interested in a job :) ?

Re: Osx-kvm: Run macOS on QEMU/KVM

#84
I've been running a macOS VM on my Threadripper 1950X for awhile now. Passing through 8 cores with a GTX 1060 attached and it runs great. In the latest Ubuntu 18.04 LTS, no need to compile qemu from source either, the version from apt get works just fine.

Re: Osx-kvm: Run macOS on QEMU/KVM

#87

Since everyone seems to be able to run macOS virtualized how come there aren't any cheap VPS that run macOS available?

There are, just not cheap compared to running something else.

Do you have some examples? I am not aware of any.
Post reply on HN