Skip to content

nether

the layer below

Nether is a type-2 VMM in Zig. It boots Linux guests on Apple Silicon using Hypervisor.framework and on Linux/x86-64 using KVM, then restores warm snapshots into separate VMs with copy-on-write RAM.

Start from a running application, fork isolated instances from its snapshot, and drive each VM through a control socket. Nether provides guest networking, data/egress bridges, resource limits, usage metering, and a terminal view.

In the Swerver stack, the gateway routes requests, nether-supervisor manages the VM pool, and swerver-console provides the UI. See the stack overview for the architecture and backend matrix.

Start here

Build and run

zig build test
zig build -Dtarget=x86_64-linux

To run locally on Apple Silicon:

zig build -Dtarget=native
./zig-out/bin/nether

The native install step signs the installed binary by default. With no kernel present, it runs the built-in serial smoke guest. Full Linux guests require the artifacts described in the backend runbooks.

Explore the live VM examples, or read the recorded test results.