09 Aug, 2007

1 commit

  • Some versions of ld.so mmap the shared libraries right in over guest
    memory, so compile lguest statically by default.

    [ FC7 maps shared libraries very low, where the launcher maps guest's
    physical memory. Quick fix is to link Launcher static, real fix is
    for 2.6.24. ]

    -static is a simple fix. I expect this problem will be more common than we
    like, as different distro's make different "improvements" to ld.so

    Signed-off-by: Ronald G. Minnich
    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Ronald G. Minnich
     

27 Jul, 2007

3 commits


25 Jul, 2007

1 commit

  • 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
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell
     

20 Jul, 2007

1 commit

  • A brief document describing how to use lguest. Because lguest doesn't have an
    ABI we also include an example launcher in the Documentation directory.

    [jmorris@namei.org: Fix up nat example in documentation]
    Signed-off-by: Rusty Russell
    Cc: Andi Kleen
    Signed-off-by: James Morris
    Cc: Matias Zabaljauregui
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rusty Russell