Sourabh Jain <[email protected]> writes:

> Kexec with the -d option prints extra logs about the kexec/kdump kernel
> that help debug kexec and kdump. For example, it shows what kexec
> segments are loaded, their locations, and sizes.
>
> One key piece of information still missing is the kernel command line
> configured for the kexec/kdump kernel.
>
> With this patch included, the kernel will print the kernel command line
> configured for the kexec/kdump kernel as shown below:
>
> kexec --initrd=./initrd ./kernel -lspd --command-line="test1 test2"
>
> Loaded elf core header at 0x22e30000, bufsz=0x2000 memsz=0x80000
> kexec_elf: Command line: elfcorehdr=0x22e30000 test1 test2   <--- New
> kexec_elf: Loaded initrd at 0x22eb0000
>

Looks like this slipped through the cracks. agreed that this is good to
have info. LGTM. So please feel free to add:

Reviewed-by: Ritesh Harjani (IBM) <[email protected]>

(this was still cleanly applicable on my latest dev tree)

> Cc: Madhavan Srinivasan <[email protected]>
> Cc: Michael Ellerman <[email protected]>
> Signed-off-by: Sourabh Jain <[email protected]>

-ritesh

Reply via email to