[PATCH v1] kexec-tools/s390: add --reuseinitrd support
Simon Horman
horms at kernel.org
Mon Aug 24 08:43:56 PDT 2026
On Tue, Aug 18, 2026 at 05:39:25PM +0200, Joseph Cathcart wrote:
> Currently, the --reuseinitrd param is not supported on s390. This
> prevents testing kexec in environments such as virtme-ng, which by
> default does not store the initrd on disk.
>
> When --reuseinitrd is specified, add retained initrd memory range to
> memory_range[] and fill new kernel parmarea directly with retained
> initrd base and size, rather than memory range of a new ramdisk.
>
> Add die() cases for trying to use --reuseinitrd flag in addition to
> --ramdisk or --initrd, and for using --kexec-file-syscall instead of
> --kexec-syscall while trying to use --reuseinitrd.
>
> Signed-off-by: Joseph Cathcart <josephc at linux.ibm.com>
> ---
>
> Depends on: https://lore.kernel.org/linux-s390/20260818153559.5700-1-josephc@linux.ibm.com/T/#u
Thanks, applied:
- kexec-tools/s390: add --reuseinitrd support
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=43c5cba85ad2
Let me know if the kernel portion doesn't land and planned.
More information about the kexec
mailing list