linux/Documentation/virtual/lguest
Rusty Russell e22a539824 lguest: allow booting guest with CONFIG_RELOCATABLE=y
The CONFIG_RELOCATABLE code tries to align the unpack destination to
the value of 'kernel_alignment' in the setup_hdr.  If that's 0, it
tries to unpack to address 0, which in fact causes the gunzip code
to call 'error("Out of memory while allocating output buffer")'.

The bootloader (ie. the lguest Launcher in this case) should be doing
setting this field; the normal bzImage is 16M, we can use the same.

Reported-by: Stefanos Geraggelos <sgerag@cslab.ece.ntua.gr>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
2011-08-15 10:15:10 +09:30
..
.gitignore
Makefile lguest: fix up compilation after move 2011-05-30 11:14:12 +09:30
extract
lguest.c lguest: allow booting guest with CONFIG_RELOCATABLE=y 2011-08-15 10:15:10 +09:30
lguest.txt