HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
machyve
xhyve
C2015–2022
machyve / xhyve

xhyve

xhyve, a lightweight OS X virtualization solution

33Distinct people
35Mentions
0Explicit recommenders
6.4KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

xhyve, a lightweight OS X virtualization solution

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year35 dated mentions

Observed mentions: 2015-06-10 18:53:20 UTC to 2022-04-01 05:44:25 UTC.

0510152015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 7 mentions; 4 submissions, 3 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 14 mentions; 0 submissions, 14 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC743
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC14014
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC110
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC404
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC505
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC202

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
xhyve.xyz About The xhyve hypervisor is a port of bhyve to macOS. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. It can run FreeBSD, some Linux distributions, and Windows 10 and may gain support for other guest operating systems in the future. License: BSD-2-Clause Introduction: http://www.pagetable.com/?p=831 Requirements OS X 10.10.3 Yosemite or later a 2010 or later Mac (i.e. a CPU that supports EPT: sysctl kern.hv_support = 1) Installation If you have homebrew, then simply: $ brew update $ brew install --HEAD xhyve The --HEAD in the brew command ensures that you always get the latest changes, even if the homebrew database is not yet updated. If for any reason you don't want that simply do brew install xhyve . If you have MacPorts, then simply: $ sudo port selfupdate $ sudo port install xhyve MacPorts is up to date with the GitHub ref listed in the port info $ port info xhyve xhyve @20170117 (emulators) ... Otherwise: Building $ git clone https://github.com/machyve/xhyve.git $ cd xhyve $ xcodebuild The resulting binary will be in build/Release/xhyve Usage $ xhyve -h See below for steps to boot various OSs What is bhyve? bhyve is the FreeBSD hypervisor, roughly analogous to KVM + QEMU on Linux. It has a focus on simplicity. It exposes the following peripherals to virtual machines: Local x(2)APIC IO-APIC 8259A PIC 8253/8254 PIT HPET PM Timer RTC PS/2 Keyboard and Mouse (via VNC) PCI host bridge passthrough UART AHCI (i.e. HDD and CD) VirtIO block device VirtIO networking VirtIO RNG Intel e1000 (aka e82545) VGA/Framebuffer (exposed with a minimal VNC server) XHCI USB support with one device defined - a tablet for Windows guest support bhyve architecture Linux I/O VM control FreeBSD NetBSD OpenBSD | A | A | | V | V | V V +-------------++-------------++-------------++-------------+ | || || || | | bhyve || bhyvectl || bhyveload || grub2-bhyve | | || || || | | || || || | +-------------++-------------++-------------++-------------+ +----------------------------------------------------------+ | libvmmapi | +----------------------------------------------------------+ A | user ------------------------------┼------------------------------ | ioctl FreeBSD kernel V +----------------------------+ | VMX/SVM host | | VMX/SVM guest | | VMX/SVM nested paging | | Timers | | Interrupts | +----------------------------+ vmm.ko vmm.ko The bhyve FreeBSD kernel module. Manages VM and vCPU objects, the guest physical address space and handles guest interaction with PIC, PIT, HPET, PM Timer, x(2)APIC and I/O-APIC. Contains a minimal x86 emulator to decode guest MMIO. Executes the two innermost vCPU runloops (VMX/SVM and interrupts/timers/paging). Has backends for Intel VMX and AMD SVM. Provides an ioctl and mmap API to userspace. libvmmapi Thin abstraction layer between the vmm.ko ioctl interface and the userspace C API. bhyve The userspace bhyve component (kind of a very light-weight QEMU) that executes virtual machines. Runs the guest I/O vCPU runloops. Manages ACPI, PCI and all non in-kernel devices. Interacts with vmm.ko through libvmmapi. bhyvectl Somewhat superfluous utility to introspect and manage the life cycle of virtual machines. Virtual machines and vCPUs can exist as kernel objects independently of a bhyve host process. Typically used to delete VM objects after use. Odd architectural choice. bhyveload Userspace port of the FreeBSD bootloader. This is a cumbersome workaround to bootstrap a FreeBSD guest operating system without using firmware. It creates a VM object, loads the FreeBSD kernel into guest memory, sets up the initial vCPU state and then exits. Only then a VM can be executed by bhyve. grub2-bhyve Performs the same function as bhyveload but is a userspace port of GRUB2. It is used to bootstrap guest operating systems other than FreeBSD, i.e. Linux, OpenBSD and NetBSD. xhyve architecture +----------------------------------------------------------+ | xhyve | | | | I/O | | | | | | | |+--------------------------------------------------------+| || vmm VMX guest || || Timers || || Interrupts || |+--------------------------------------------------------+| +----------------------------------------------------------+ +----------------------------------------------------------+ | Hypervisor.framework | +----------------------------------------------------------+ A | user
Read the full README on GitHub

What Hacker News says

35 sources
I was happiest with xhyve https://github.com/machyve/xhyve Serial console in terminal was nice (for me!), network configuration was trash (I think I was able to set the subnet by fiddling around with system plists? and it would revert from time to time), and I didn't have to deal with Virtualbox. I've been away from macs for a while, I don't know if xhyve works on the M1, but it might. I ran a FreeBSD vm so I could run my server code on my laptop in an environment that was like production but slower.
In Favourite hypervisor for a macOS host?
"Because NVIDIA" is blatantly false. CUDA support for docker containers is provided through the open source Nvidia-Docker project maintained by Nvidia[1]. If anything this is a great argument for NVIDIAs usage of open source. Searching that project's issues shows that Nvidia-Docker support on MacOS is blocked by the VM used by Docker for Mac(xhyve) not supporting PCI passthrough, which is required for any containers to use host GPU resources.[2] xhyve has an issue for PCI passthrough, updated a few months ago, which notes that the APIs provided by Apple through DriverKit are insufficient for this use case[3] So your comment should really say "Because Apple" [1] https://github.com/NVIDIA/nvidia-docker [2] https://github.com/NVIDIA/nvidia-docker/issues/101#issuecomm... [3] https://github.com/machyve/xhyve/issues/108#issuecomment-616...
In Nvidia to Acquire Arm for $40B

Showing the 15 most recent of 35 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.