[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MINI-OS PATCH 12/12] kexec: do the final kexec step
On Fri, Mar 21, 2025 at 5:30 AM Juergen Gross <jgross@xxxxxxxx> wrote: > > With all kexec preparations done, activate the new kernel. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > kexec.c | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) > > diff --git a/kexec.c b/kexec.c > index 2db876e8..85b09959 100644 > --- a/kexec.c > +++ b/kexec.c > @@ -169,6 +169,7 @@ int kexec(void *kernel, unsigned long kernel_size, const > char *cmdline) > @@ -192,6 +193,13 @@ int kexec(void *kernel, unsigned long kernel_size, const > char *cmdline) > if ( ret ) > goto err; > > + kexec_page = (void *)alloc_page(); kexec_page() is referenced already in do_kexec(), but it hasn't been hooked up yet, right? I guess that is okay. If not an ASSERT on 1 page, then allocate KEXEC_SECSIZE? Regards, Jason
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |