boot_modules_for_image

Function boot_modules_for_image 

Source
pub fn boot_modules_for_image(image: &Path) -> Vec<PathBuf>
Expand description

Ordered boot modules for a cached kernel image, discovered from the modules/ subdirectory that sits beside the image in its cache entry (<entry>/bzImage + <entry>/modules/). Empty for built kernels and build-tree images (no sibling modules/), so callers can pass the result to KtstrVmBuilder::kernel_modules unconditionally — an empty set is a no-op.