[systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily
Shawn Landden
shawn at churchofgit.com
Mon Feb 16 19:53:47 PST 2015
On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering <lennart at poettering.net>
wrote:
> On Fri, 13.02.15 14:18, Shawn Landden (shawn at churchofgit.com) wrote:
>
> > Still use helper when Xen Dom0, to avoid duplicating some hairy
> > code.
>
> Hmm, what precisely does the helper do on xen?
>
> > So we don't have any logic to load kexec kernels?
>
> Currently we don't.
>
> My hope though was that we can make the whole kexec thing work without
> having kexec-tools installed. With the new kernel syscall for loading
> the kernel we should be able to implement this all without any other
> tools.
>
> Ideally we'd not use any external tools anymore, not even in the Xen
> case, hence I am curious what precisely the special hookup for Xen is
> here...?
>
> Lennart
>
>
https://git.kernel.org/cgit/utils/kernel/kexec/kexec-tools.git/tree/kexec/kexec-xen.c
I've attached my patch.
I'm having a problem with kexec_file_load() returning ENOMEM that I havn't
resolved.
> --
> Lennart Poettering, Red Hat
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
--
Shawn Landden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150216/d02f3cee/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shutdown-avoid-calling-kexec-binary-unnessecarily.patch
Type: text/x-patch
Size: 8633 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150216/d02f3cee/attachment-0001.bin>
More information about the systemd-devel
mailing list