kernel/liveupdate/Kconfig
Source file repositories/reference/linux-study-clean/kernel/liveupdate/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
kernel/liveupdate/Kconfig- Extension
[no extension]- Size
- 2915 bytes
- Lines
- 90
- Domain
- Core OS
- Bucket
- Scheduler, Processes, Timers, Sync, And Syscalls
- Inferred role
- Core OS: build/configuration rule
- Status
- atlas-only
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: GPL-2.0-only
menu "Live Update and Kexec HandOver"
config KEXEC_HANDOVER
bool "kexec handover"
depends on ARCH_SUPPORTS_KEXEC_HANDOVER && ARCH_SUPPORTS_KEXEC_FILE
select MEMBLOCK_KHO_SCRATCH
select KEXEC_FILE
select LIBFDT
select CMA
help
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.
config KEXEC_HANDOVER_DEBUG
bool "Enable Kexec Handover debug checks"
depends on KEXEC_HANDOVER
help
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
bool "kexec handover debugfs interface"
default KEXEC_HANDOVER
depends on KEXEC_HANDOVER
select DEBUG_FS
help
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
bool "Enable kexec handover by default"
depends on KEXEC_HANDOVER
help
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
bool "Live Update Orchestrator"
depends on KEXEC_HANDOVER
help
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.
Annotation
- Atlas domain: Core OS / Scheduler, Processes, Timers, Sync, And Syscalls.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.