~/talk

Mutating the immutable: device hotplug in KubeVirt

Talkat DevConf.CZ 2023 · 2023-06-16..06-18· [kubernetes]
links:none on file
links:none on file
slides:none on file

KubeVirt implements runtime device hotplug for QEMU/libvirt guests by preallocating PCI topology using placeholder devices so libvirt can generate the needed controllers, then removing placeholders before boot; that yields four placeholders (configurable later) giving empty hotplug slots on Q35 guests. The talk explains libvirt’s limitation that PCI root ports must exist at boot, compares alternatives (PCI bridge, manual addresses), shows how migration is used as a device-plugin workaround, and notes memory and boot-time tradeoffs.

AI-written summary · about

  1. 0:00Hotplug in virtual machines
  2. 2:54Defining VMs in KubeVirt
  3. 4:21Why hotplug is necessary
  4. 6:30Kubernetes challenges for hotplug
  5. 8:42KubeVirt’s device plugin limits
  6. 10:12PCI hotplug in libvirt and QEMU
  7. 13:20PCI controller generation limits
  8. 14:24Placeholder devices for hotplug slots
  9. 16:12Alternative PCI hotplug approaches
  10. 19:03Future hotplug extensions
  11. 21:11Q&A on memory and PCI limits
  12. 22:16PCI slots during migrations
  13. 22:57PCI hotplug constraints
  14. 24:01CPU hotplug and features
  15. 26:12Shared virtualization limits
  16. 27:20Hotplugging volumes in pods
  17. 28:08Custom hooks for hotplug
~/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.