[PATCH] kexec-tools: print error if kexec_file_load fails

Simon Horman horms at verge.net.au
Wed Mar 23 07:20:46 PDT 2022


On Wed, Mar 16, 2022 at 12:56:03PM +0100, Petr Tesarik wrote:
> Hi Hari,
> 
> Dne 16. 03. 22 v 11:33 Hari Bathini napsal(a):
> > Commit 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error
> > handling") introduced EFALLBACK for scenarios where fallbacking back
> > to kexec_load syscall is likely to work and dropped printing error
> > message for these scenarios. But printing error message for other
> > failure scenarios was inadvertently dropped. Restore printing error
> > message for such cases.
> 
> Indeed, my commit removed the error messages on failure.
> 
> > 
> > Fixes: 4f77da634035 ("kexec-tools: Fix kexec_file_load(2) error handling")
> > Cc: Petr Tesarik <ptesarik at suse.com>
> > Reported-by: Nageswara R Sastry <rnsastry at linux.ibm.com>
> > Tested-by: Nageswara R Sastry <rnsastry at linux.ibm.com>
> > Signed-off-by: Hari Bathini <hbathini at linux.ibm.com>
> 
> Reviewed-by: Petr Tesarik <ptesarik at suse.com>

Thanks, applied.



More information about the kexec mailing list