On Mon, Jul 24, 2023 at 10:21:40AM +0800, Pingfan Liu wrote: > From: Jeremy Linton <jeremy.linton@xxxxxxx> > > The linux kernel CONFIG_ZBOOT option creates > self decompressing PE kernel images. So this means > that kexec should have a generic understanding of > the format which may be used by multiple arches. > > So lets add an arch independent validation > and decompression routine. > > Signed-off-by: Jeremy Linton <jeremy.linton@xxxxxxx> > [Modified by Pingfan to export kernel fd] > Signed-off-by: Pingfan Liu <piliu@xxxxxxxxxx> Hi Pingfan, unfortunately this causes a build failure on hppa. ../../kexec/kexec-pe-zboot.c:31:10: fatal error: kexec-pe-zboot.h: No such file or directory 31 | #include <kexec-pe-zboot.h> | ^~~~~~~~~~~~~~~~~~ Link: https://github.com/horms/kexec-tools/actions/runs/5723580523/job/15508425790 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec