News › 2025 › October 2025
TinyKVM runs Linux programs in a small KVM sandbox
Project2025-10-26
TinyKVM is a userspace emulator library on KVM. It runs ordinary Linux binaries with timeouts, memory limits and cheap forks of a warmed-up process.
TinyKVM is a userspace emulator library from the Varnish project. It uses a slice of the KVM API so a normal Linux program runs on the host CPU, with the same instruction set, plus an execution timeout, a memory limit, and the ability to fork one initialised program into many virtual machines.
A write-up by the author, fwsGonzo, is An update on TinyKVM.