IT lexicon › Infra & Ops › vkernel

vkernel

Infra & Ops På svenska → Updated: 2026-11-08

DragonFly BSD's virtual kernel: a complete DragonFly kernel running as an ordinary process on top of another one.

Matthew Dillon added the mechanism in DragonFly 1.8 in 2007, mostly to stop rebooting test machines. A vkernel runs as a user-space program with its own processes and its own virtual memory, which the host kernel helps keep apart. It can be stopped, stepped and inspected in gdb like any other program — a luxury for anyone used to debugging kernels over a serial cable.

The idea resembles User-mode Linux from 1999 and needs no hardware virtualisation support. As a way to isolate servers it lost out to proper hypervisors, and DragonFly later adopted NVMM. As a developer tool it lives on. NetBSD attacked the same problem from the other end with rump kernels: rather than the whole kernel as a process, pieces of it as libraries.

← Back to the lexicon