pub fn get_kernel_infos(rootfs: Option<&str>) -> Result<Vec<KernelInfo>, Error>
Get the list of existing kernels in the system.