~/talk

QEMU Live Update

Talkat KVM Forum 2020 · 2020-10-28..10-30· [nodejs]
links:none on file
slides:none on file

A method to replace a running QEMU by execing a new binary while keeping guest RAM and most FDs intact uses a ~300‑line madvise_do_exec kernel patch, CPR save/CPR load monitor commands, and VFIO descriptor preservation; guest pause is about 100 ms on a 4‑year‑old Xeon, the VM state file is <1 MB, and updates across QEMU 2.x→3.x→4.x work. Kernel fix in 5.8 removes a linear set_memory_region cost, kexec+PKRAM preserves hundreds of GB in <1 s, and legacy hosts use a VM save injected shared object.

AI-written summary · about

  1. 0:00Start
  2. 1:39Design Elements
  3. 4:09Preserving guest memory (2)
  4. 5:26VFIO device state
  5. 7:32QEMU Device State
  6. 9:40cprload files
  7. 11:07Demo Video
  8. 14:58Kernel Live Update
  9. 16:54Future Work
~/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.