-
- Downloads
Introduce guest mem offset, static link example launcher
In order to avoid problematic special linking of the Launcher, we give
the Host an offset: this means we can use any memory region in the
Launcher as Guest memory rather than insisting on mmap() at 0.
The result is quite pleasing: a number of casts are replaced with
simple additions.
Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
Showing
- Documentation/lguest/Makefile 3 additions, 23 deletionsDocumentation/lguest/Makefile
- Documentation/lguest/lguest.c 110 additions, 79 deletionsDocumentation/lguest/lguest.c
- drivers/lguest/core.c 10 additions, 12 deletionsdrivers/lguest/core.c
- drivers/lguest/hypercalls.c 9 additions, 6 deletionsdrivers/lguest/hypercalls.c
- drivers/lguest/io.c 10 additions, 8 deletionsdrivers/lguest/io.c
- drivers/lguest/lg.h 3 additions, 0 deletionsdrivers/lguest/lg.h
- drivers/lguest/lguest_user.c 13 additions, 10 deletionsdrivers/lguest/lguest_user.c
- drivers/lguest/page_tables.c 5 additions, 2 deletionsdrivers/lguest/page_tables.c
Loading
Please register or sign in to comment