~/talk

libkrun: More than a VMM, in Dynamic Library Form

Talkat KVM Forum 2021 · 2021-09-15..09-16· [ruby]
links:none on file
slides:none on file

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

  1. 0:00Introduction
  2. 0:20What is libkrun
  3. 1:16libkrun components
  4. 1:56Dynamic libraries
  5. 2:36Nonbonpoint spaces
  6. 3:04Local run
  7. 3:35Storage
  8. 4:19Advantages and disadvantages
  9. 8:55DSI socket example
  10. 9:59Advantages
  11. 11:05Obtaining libkrun
  12. 11:52Example Program
  13. 13:49Use Cases
  14. 15:04Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.