Re: [PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-19 Thread Robbie Harwood
Daniel Kiper writes: > On Tue, Oct 04, 2022 at 03:16:48PM -0400, Robbie Harwood wrote: > >> + return rc; >> +} >> + >> +static grub_err_t >> +grub_linux_unload (void) >> +{ >> + grub_dl_unref (my_mod); > > I understand that this marks this module as not in use. Right? If yes > please add a comm

Re: [PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-19 Thread Oskari Pirhonen
On Tue, Oct 18, 2022 at 15:26:45 -0400, Robbie Harwood wrote: > Oskari Pirhonen writes: > > > On Tue, Oct 04, 2022 at 15:16:48 -0400, Robbie Harwood wrote: > >> From: Raymund Will > >> > >> The GRUB emulator is used as a debugging utility but it could also be > >> used as a user-space bootloade

Re: [PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-18 Thread Robbie Harwood
Oskari Pirhonen writes: > On Tue, Oct 04, 2022 at 15:16:48 -0400, Robbie Harwood wrote: >> From: Raymund Will >> >> The GRUB emulator is used as a debugging utility but it could also be >> used as a user-space bootloader if there is support to boot an operating >> system. >> >> The Linux kerne

Re: [PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-16 Thread Oskari Pirhonen
On Tue, Oct 04, 2022 at 15:16:48 -0400, Robbie Harwood wrote: > From: Raymund Will > > The GRUB emulator is used as a debugging utility but it could also be > used as a user-space bootloader if there is support to boot an operating > system. > > The Linux kernel is already able to (re)boot anoth

Re: [PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-14 Thread Daniel Kiper
On Tue, Oct 04, 2022 at 03:16:48PM -0400, Robbie Harwood wrote: > From: Raymund Will > > The GRUB emulator is used as a debugging utility but it could also be > used as a user-space bootloader if there is support to boot an operating > system. > > The Linux kernel is already able to (re)boot anoth

[PATCH v4 1/1] Add support for grub-emu to kexec Linux menu entries

2022-10-04 Thread Robbie Harwood
From: Raymund Will The GRUB emulator is used as a debugging utility but it could also be used as a user-space bootloader if there is support to boot an operating system. The Linux kernel is already able to (re)boot another kernel via the kexec boot mechanism. So the grub-emu tool could rely on