The smallest virtual machine monitors that still do something, one per hypervisor interface.
Each backend gets its own directory, because the host API is the thing being taught and it does not abstract cleanly:
kvm/— Linux,/dev/kvm, x86-64.hvf/— macOS, Apple's Hypervisor.framework. Not written yet.
Inside a backend the programs are numbered. Each example is a standalone,
runnable file that varies exactly one thing from the one before it, so
diff is the explanation. That means the setup code is duplicated across
files on purpose — factoring it into a shared header would hide the only
part that changes.
Companion to Tiny KVM VMM.