Kconfig

Live Update and Kexec HandOver

CONFIG_KEXEC_HANDOVER kexec handover

On

Allow kexec to hand over state across kernels by generating and passing additional metadata to the target kernel. This is useful to keep data or state alive across the kexec. For this to work, both source and target kernels need to have this option enabled.

  • Depends on &&
  • SelectsKEXEC_FILE if &&
  • SelectsLIBFDT if &&
  • SelectsCMA if &&

If KEXEC_HANDOVER

CONFIG_KEXEC_HANDOVER_DEBUG Enable Kexec Handover debug checks

On

This option enables extra sanity checks for the Kexec Handover subsystem. Since, KHO performance is crucial in live update scenarios and the extra code might be adding overhead it is only optionally enabled.

CONFIG_KEXEC_HANDOVER_DEBUGFS kexec handover debugfs interface

On

Allow to control kexec handover device tree via debugfs interface, i.e. finalize the state or aborting the finalization. Also, enables inspecting the KHO fdt trees with the debugfs binary blobs.

CONFIG_KEXEC_HANDOVER_ENABLE_DEFAULT Enable kexec handover by default

On

Enable Kexec Handover by default. This avoids the need to explicitly pass 'kho=on' on the kernel command line.

This is useful for systems where KHO is a prerequisite for other features, such as Live Update, ensuring the mechanism is always active.

The default behavior can still be overridden at boot time by passing 'kho=off'.

CONFIG_LIVEUPDATE Live Update Orchestrator

On

Enable the Live Update Orchestrator. Live Update is a mechanism, typically based on kexec, that allows the kernel to be updated while keeping selected devices operational across the transition. These devices are intended to be reclaimed by the new kernel and re-attached to their original workload without requiring a device reset.

Ability to handover a device from current to the next kernel depends on specific support within device drivers and related kernel subsystems.

This feature primarily targets virtual machine hosts to quickly update the kernel hypervisor with minimal disruption to the running virtual machines.

If unsure, say N.

If LIVEUPDATE

CONFIG_LIVEUPDATE_MEMFD Live update support for memfd

On

Enable live update support for memfd regions. This allows preserving memfd-backed memory across kernel live updates.

This can be used to back VM memory with memfds, allowing the guest memory to persist, or for other user workloads needing to preserve pages.

If unsure, say N.

End of Live Update and Kexec HandOver
CONFIG_ARCH_SUPPORTS_KEXEC_HANDOVER declarations