Re: kexec: Clearing registers just before jumping into purgatory

From: Matthew Garrett
Date: Fri Oct 11 2013 - 13:02:26 EST


On Fri, Oct 11, 2013 at 06:59:41PM +0200, Richard Weinberger wrote:
> Am 11.10.2013 18:55, schrieb Matthew Garrett:
> > On Fri, Oct 11, 2013 at 06:47:19PM +0200, Richard Weinberger wrote:
> >
> >> But you still need a magic tool which create you this list.
> >
> > I just read /proc/kallsyms. I'm really not doing anything complicated.
> >
> >> If you have a tool which takes two kernel images and create such
> >> a delta, fine.
> >
> > Isn't that ksplice?
>
> So, you have a variant of ksplice which is able to kexec?

No, I manually look up some addresses from /proc/kallsyms and then
modify them in the second kernel.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/