~/talk

Preserving IOMMU States During Kexec Reboot

Talkat KVM Forum 2022 · 2022-09-12..09-14· [devops-and-delivery]
name:Fam Zheng
links:none on file
slides:none on file

Live-update of the host kernel preserves IOMMU mappings across a kexec by reserving guest RAM in a 2 GB reserved DAX region and allocating IOMMU page tables from a new kernel allocator called KRAM static allocator, patching the Intel IOMMU driver to use those fixed pages and adding a VFIO raw mode plus QEMU changes to mask interrupts and avoid device resets. Proof‑of‑concept runs in nested KVM with PCI passthrough and shows devices recover after about 160 ms downtime.

AI-written summary · about

  1. 0:00Introduction
  2. 3:19Live-migration
  3. 7:01Live-update: challenges
  4. 8:08Live-update: migrate to file
  5. 10:10vfio-pci quick review
  6. 14:01Quick recap
  7. 14:49Zooming into cpr reboot
  8. 16:19Fix: Preserving the state
  9. 18:25Pinning guest ram pages
  10. 20:14Pinning IOMMU DMAR tables
  11. 23:47vfio-pci integration
  12. 27:36PoC: design and configuration
  13. 28:55PoC: live-update procedure
~/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.