Live data from Hacker News

Osx-kvm: Run macOS on QEMU/KVM

github.com

21–30 of 111 posts

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

#21
post #19
post #4

Soooo any way this can help run OS X in docker?

You can't, unless you run qemu there. Which you can do, but it kinda defeats the purpose. And in the best case scenario you still gonna need some changes to host, like extra kernel boot parameters most likely.

Thank you, this is what I've been trying to say.

It might be interesting if you can get the linux->darwin kernel and system library translation layer good enough that the binaries in the docker image are the macos programs, NOT qemu. But that's still far off, I think.

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

#22
post #20
post #13

Earlier quoted context omitted.

I really want this. I'm a hardcore linux guy(23+ years), but I have to run a windows vm for some instruments I have that wont run under wine. I hate windows. It sucks so much. Even just using it not that often with my instruments reminds me why I stopped using it.

Or maybe you were saying you want the Windows equivalent of this? The ability to make native windows apps from linux with ordinary tools? I don't know what it is, but I thought we've had that for some time now....

That would also be good. But anything to reduce the amount I have to use windows.

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

#23
post #22
post #20

Earlier quoted context omitted.

Or maybe you were saying you want the Windows equivalent of this? The ability to make native windows apps from linux with ordinary tools? I don't know what it is, but I thought we've had that for some time now....

That would also be good. But anything to reduce the amount I have to use windows.

Once again, I agree, every moment I have to touch windows (let alone the more recent versions, like 10) is a moment of pain.

But how does a system that lets you compile iOS applications natively from linux decrease your windows usage?

Oh, or were you referring to the "clean room" osx-kvm-debian project, not the "ios build system on debian" project?

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

#24
post #3

Will someone please update this with experiences with Ryzen?

It works fine on OSX 10.12.6. You need the following customizations (not sure what's in OSX-KVM already):

- tell explicitly it's a "Penryl" CPU (Penryl)

- force AES instructions in order to use encryption effectively ()

- explicitly define topology ()

- use usb-tablet () for much more convenient mouse input that does not lock to window. Initial setup may need to be done with usb mouse ()

All of the above need to be reflected in QEMU command line.

I've been using this setup for last half year without issues (mostly heavy compiling).

I'm looking forward porting this setup to 32-core Threadripper. Would be a hell of a beast that outperforms Apple HW that costs several times more.

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

#25
post #5
post #2

Previous post from 2016 with 89 comments: https://news.ycombinator.com/item?id=12556609

Yeah, one has been able to do this for some time now. A few years ago I had a setup where (and I admit much of this was for the aesthetic purity of it, not practical reasons), I used a legally purchased copy of macos, copied it unmodified to my VM server, and, with a decent amount of effort, and a patched qemu (for the SMC thingie -- i donno if by now the patch is in mainline), was enjoying a non pirated, non modifie…

You should document the ability to build, develop, upload and sign from Linux. Unless you think it will cause Apple to close the path to do so (I assume others have worked out something similar and it would be a shame to cut them off).

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

#26
post #5
post #2

Previous post from 2016 with 89 comments: https://news.ycombinator.com/item?id=12556609

Yeah, one has been able to do this for some time now. A few years ago I had a setup where (and I admit much of this was for the aesthetic purity of it, not practical reasons), I used a legally purchased copy of macos, copied it unmodified to my VM server, and, with a decent amount of effort, and a patched qemu (for the SMC thingie -- i donno if by now the patch is in mainline), was enjoying a non pirated, non modifie…

That must have been a long time ago indeed because the last version you could 'buy' was removed from sale in 2013. But actually you didn't buy a copy, you bought a disc and a license to upgrade the software on one 'Apple branded machine'.

I don't care if you run unlicensed software but it's not 'legally purchased' or 'non pirated'. You're just fooling yourself.

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

#28
OSX-KVM has been super helpful for recovering old sparseimage-backups I've created back when I was still using a mac. This is because sparsebundlefs-fuse Linux driver doesn't work with this file-format (yet) and I don't have any access to a Mac. (Especially since recovering takes at least a dozen hours).

https://github.com/torarnv/sparsebundlefs/issues/7#issuecomm...

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

#29
post #27

Where I find the ISO file?

If you read TFA, you'll see you can get the .app file from the App Store and then turn it into an ISO with a script that's included. But you can also use your favourite torrent site, like The Pirate Bay, to get an ISO.
Post reply on HN