Messages in this thread |  | | | Date | Mon, 31 Dec 2007 11:43:11 +0100 | | From | Ingo Molnar <> | | Subject | Re: [PATCH] Hibernation: Document __save_processor_state() on x86-64 | |
* Rafael J. Wysocki <rjw@sisk.pl> wrote:
> > ok, just to make sure we are talking about the same thing. Do you
> > mean we can restore an image saved by v2.6.12 into v2.6.24? I.e. a
> > 2.6.24 kernel will be able to run a 2.6.12 kernel's hibernation
> > image, with all the kernel internal data from v2.6.12, etc? No way
> > can that work.
>
> Well, not exactly. The support for different boot and image kernels
> has only been merged recently, but we can use the current git to
> restore 2.6.24-rc6-mm1, for example.
>
> The trick is to pass a little additional information in the image
> header that can be used by the boot kernel to locate the entry point
> to the image kernel and the image kernel's page tables.
ok - i thought you meant that there's a general capability to resume
across kernel versions. (which would be close to impossible without some
major surgery.)
btw., in what way is this different from kexec?
Ingo
|  |