G

Gabriel Somlo

contrib.andrew.cmu.edu/~somlo · Personal blog · on HN since 2013

Gabriel Somlo, a researcher at Carnegie Mellon, writes about running Mac OS X on KVM and building a free 64-bit RISC-V computer.

What HN saysHN links his OSX-KVM work for running macOS on non-Apple hardware and his trustworthy RISC-V computer page, which commenters suggest to those worried about hardware backdoors.
19HN people shared it
10linked it in comments
9stories submitted
266story points
2 years agolast shared
2013people per year2026

Most-shared posts

  1. 1
    Mac OSX on KVM
    15 people · 18 points · first shared 2013 · 1 comments on HN
  2. 2
  3. 3
    Mwait
    1 people · first shared 2014

What HN people wrote when they linked it

protoman3000 · 2021-01-19
Sosumi Snap uses Clover internally. [1] showed how to boot macOS in KVM without the usual Clover / Opencore setup but is not maintained for newer versions anymore. [2] shows how to run current macOS versions without Clover or Opencore in VirtualBox by changing the VM's ACPI(?) entries and loading variables into the NVRAM. [3] uses KVM but also uses Opencore. I tried to translate [2] to QEMU but was never successful. Does anybody know some resources how to have a pure KVM macOS VM without any hackintoshing? [1] https://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ [2] https://github.com/myspaghetti/macos-virtualbox [3] https://github.com/kholia/OSX-KVM
ryao · 2025-02-10
Anyone who is paranoid about hardware backdoors might enjoy this: https://www.contrib.andrew.cmu.edu/~somlo/BTCP/
dmarinus · 2024-05-18
hey this is the same guy who did some work for running osx on qemu/kvm. https://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/
CyberShadow · 2016-09-22
This little line, copyrighted by Apple, is what I understand to be the legal protection they have against people running OS X on non-Apple hardware: https://github.com/kholia/OSX-KVM/blob/476ae8b082088049f2f8c547518f35b… I would not be surprised if a DMCA takedown will be filed against this repository soon. More information here: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/#sec_3_2_1
LnxPrgr3 · 2015-06-02
There's a good explanation here, including a tool to read the key from a running Mac: http://osxbook.com/book/bonus/chapter7/tpmdrmmyth/ Summary: important system binaries (such as Finder.app) are encrypted with a key held in the SMC. The OS transparently decrypts them, but needs access to that key to do so. It is possible to convince QEMU to run OS X: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ (though I've not tried this myself). They do require you to provide the relevant key yourself, I imagine for legal reasons.
defied · 2015-06-02
Take a look at http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/ I haven't tried it myself, but those instructions should help with running Yosemite on QEMU/KVM
valarauca1 · 2014-11-26
OSX can be ran in the KVM (Kernel Virtual Machine) so if you don't want to quit your side job over the switch :) [1] http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/
amluto · 2014-10-30
Off the top of my head: the VM executes either HLT or MWAIT, and those instructions are generally programmed to cause a VM exit, so the hypervisor can take action. The hypervisor will deschedule the VM and possibly go idle itself. TBH, I have no idea how MONITOR works in a VM. It might be quite messy. Edit: Here's a really nice explanation: http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/mwait.html

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close