[PATCH] Add --reuse-cmdline
Bernhard Walle
bwalle at suse.de
Mon May 12 09:38:49 EDT 2008
Hi,
at first thanks for looking at the patch.
* Michael Neuling <mikey at neuling.org> [2008-05-09 12:13]:
>
> In message <20080508204943.GA24160 at suse.de> you wrote:
> > This patch adds an option "--reuse-cmdline" for people that are lazy in typin
> g
> > --append="$(cat /proc/cmdline)". The advantage of "--reuse-cmdline" is also t
> hat
> > it strips off BOOT_IMAGE (since it may not be correct any more) from lilo and
> > other boot loaders, and, more important, the crashkernel option in case a
> > panic kernel is loaded.
> >
> > If you like the option I can also add it for really all architectures. Tested
> only
> > with x86-bzImage both the kexec and kdump case.
>
> For ppc64, the default is to reuse the command line. We should probably
> merge functionality.
Where is that functionality implemented? I couldn't find it. Does the
kernel that automatically on PPC64? I know too litte about that
architecture.
> Either way, this should probably be a generic option, not x86 specific.
Well, I thought first of it. But since the '--append' parameter is not
generic, this makes no sense.
Maybe it would make sense to change the command line handling in
general to be global and not image specific, but first I need to
understand how that works on PPC64 ... (and probably others).
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/kexec/attachments/20080512/bf166e87/attachment.bin
More information about the kexec
mailing list