Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    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.

    Visit blogHN submissions
    Hardware & ElectronicsOpen Source & Linux
    What HN says

    HN 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.

    Stats for nerds
    19HN people shared it
    9linked in comments
    266story points
    Feb 2025last shared
    2014people per year2025

    Top posts on HN

    1. 1
      A trustworthy, free (libre), Linux capable, self-hosting 64bit RISC-V computer
      3 people · 248 points · first shared 2020 · 57 comments on HN
    2. 2
      Mac OSX on KVM
      15 people · 18 points · first shared 2013 · 1 comments on HN
    3. 3
      Mwait
      1 person · first shared 2014

    What HN people wrote when they linked it

    • protoman3000Jan 2021

      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

    • LnxPrgr3Jun 2015

      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.

    • CyberShadowSep 2016

      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/476ae8b082088049f2f8c547518f35b1cf5d0647/macOS-libvirt.xml#L55

      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

    • amlutoOct 2014

      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

    • ctimeFeb 2018

      ..and only a single copy, it appears.

      These links are fun:

      https://github.com/kholia/OSX-KVM/blob/master/README.md

      http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/#sec_4

    • valarauca1Nov 2014

      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/

    Related

    Linaro Bloglinaro.org47 people

    Linux on Snapdragon X Elite: Linaro and Tuxedo Pave the Way for ARM64 Laptops

    Linaro Blog
    Company · last shared 2026
    Gustavo Niemeyerlabix.org61 people

    Lunatic Python: Lua Inside Python, and Python Inside Lua

    Gustavo Niemeyer
    Personal · last shared 2022
    Clifford Wolfclifford.at80 people

    Project IceStorm: open-source toolchain for Lattice iCE40 FPGAs

    Clifford Wolf
    Personal · last shared 2021
    Justine Tunneyjustine.lol251 people

    Show HN: Redbean – Single-file distributable web server

    Justine Tunney
    Personal · last shared 2026
    Collabora Blogcollabora.com129 people

    Matt Godbolt sold me on Rust by showing me C++

    Collabora Blog
    Company · last shared 2026
    Murilo Pereiramurilopereira.com19 people

    The values of Emacs, the Neovim revolution, and the VSCode gorilla

    Murilo Pereira
    Personal · last shared 2026
    Yandex Blogmedium.com/yandex18 people

    Good Retry, Bad Retry

    Yandex Blog
    Company · last shared 2026
    Lundukelunduke.substack.com91 people

    The computers used to do 3D animation for Final Fantasy VII in 1996

    Lunduke
    Personal · last shared 2026