libkrun: More than a VMM, in Dynamic Library Form
summary
libkrun is a dynamic library VMM that links into a runtime to carry KVM, firmware and a bundled minimal Linux kernel inside the process so namespace switches still find every dependency. It composes Firecracker and rust‑vmm crates, exposes a virtio‑fs rootfs (no block images) and minimal virtio devices, and runs VMs with single vCPU and 512 MB RAM in-process. Networking uses transparent socket impersonation (TSI) that maps AF_INET to a combined INET+vsock personality. Virtio‑fs trades throughput for zero image management and smaller guest cache, SEV workflows prefer virtio‑block.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 0:20What is libkrun
- 1:16libkrun components
- 1:56Dynamic libraries
- 2:36Nonbonpoint spaces
- 3:04Local run
- 3:35Storage
- 4:19Advantages and disadvantages
- 8:55DSI socket example
- 9:59Advantages
- 11:05Obtaining libkrun
- 11:52Example Program
- 13:49Use Cases
- 15:04Conclusion
related talks
53mDeployable Ruby Runtimes
01h 08mStrengthening the Ruby Ecosystem Part I: Rubinius
38mRubyX: Compiling Ruby and it's effect on the community
33mSurviving Fire: using Erlang as an OS to Achieve Massive Fault Tolerance
48mRubinius
50mImplementing Virtual Machines in Ruby (and C)
50mRuby Queue
35mIn defence of GVL
