]> git.baikalelectronics.ru Git - kernel.git/commit
link lguest example launcher non-static
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Jul 2007 01:43:56 +0000 (18:43 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 24 Jul 2007 19:24:59 +0000 (12:24 -0700)
commit9ce7925c2014a8e07f04ba64ec78f1c221dd01a3
treee1d963379a71e847f92c447a7ebffeb45bdf1d0f
parentefd00d88e1ffd53a30deff3c263b398a6052b0a6
link lguest example launcher non-static

S.Caglar Onur points out that many distributions don't ship a static
zlib.  Unfortunately the launcher currently maps virtual device memory
where shared libraries want to go.

The solution is to pre-scan the args to figure out how much memory we
have, then allocate devices above that, rather than down from the top
possible address.  This also turns out to be simpler.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/lguest/Makefile
Documentation/lguest/lguest.c