Skip to content

BolunThompson/kvm_sectorlisp

Repository files navigation

KVM Sectorlisp

Zero dependency virtualization of sectorlisp using KVM. For further information, see my mastodon post.

Requirements:

  • Linux 2.6.20+ built wtih virtualization enabled.
  • x86 CPU with hardware virtualization support.
  • To compile: clang 19+ (to support C23's #embed feature)

Great thanks to the LWN post on the KVM API for acting as a guide.

Building

git clone --recurse-submodules
make

Clang 19 is the only dependency (for C23 support).

NixOS Notes

To build for NixOS, run nix build '.?submodules=1'. See discourse for why.