[PATCH v2] kexec-tools/s390: add --reuseinitrd support
Simon Horman
horms at kernel.org
Mon Oct 5 02:25:26 PDT 2026
On Thu, Aug 20, 2026 at 12:13:50PM +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, fetch retained initrd memory range
> from /proc/iomem and fill new kernel parmarea directly with retained
> initrd base and size, rather than memory range of a new ramdisk.
>
> Add die() cases for when user uses --reuseinitrd:
> - in addition to --ramdisk or --initrd
> - while booting a crash kernel.
> - with kexec-file-load syscall (default syscall)
> - and no initrd entry is found in /proc/iomem
>
> Signed-off-by: Joseph Cathcart <josephc at linux.ibm.com>
Sorry if this is a duplicate.
But it seems that I applied this patch some time ago
but forgot to send out a notification about that.
So, FTR, this patch was applied as:
- kexec-tools/s390: add --reuseinitrd support
https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git/commit/?id=43c5cba85ad2
More information about the kexec
mailing list