kexec: load-preserve-context option on s390

Vivek Goyal vgoyal at redhat.com
Thu Sep 29 09:32:09 EDT 2011


On Thu, Sep 29, 2011 at 08:51:02AM +0900, Simon Horman wrote:
> On Mon, Sep 26, 2011 at 03:09:09PM +0200, Michael Holzheu wrote:
> > Hello Simon,
> > 
> > I think the --load-preserve-context and --load-jump-back-helper kexec
> > options are not working on s390 because we do not support
> > CONFIG_KEXEC_JUMP. I assume the same is true also on other
> > architectures. Correct me, if I am wrong. Unfortunately I did not find
> > much documentation for that feature.
> > 
> > Wouldn't it be better to print an error message when the options are
> > used on those architectures?
> 
> Ideally it would be nice if kexec-tools could ask the kernel
> if KEXEC_JUMP is supported (or enabled?) or not rather than
> hardcoding this information into kexec-tools on a per-architecture basis.

Shouldn't kexec system call return error if KEXEC_JUMP is not supported
and user asked for it?

Thanks
Vivek



More information about the kexec mailing list