OpenCloudOS-Kernel/Documentation/lguest
Rusty Russell 8c79873da0 lguest: turn Waker into a thread, not a process
lguest uses a Waker process to break it out of the kernel (ie.
actually running the guest) when file descriptor needs attention.

Changing this from a process to a thread somewhat simplifies things:
it can directly access the fd_set of things to watch.  More
importantly, it means that the Waker can see Guest memory correctly,
so /dev/vring file descriptors will work as anticipated (the
alternative is to actually mmap MAP_SHARED, but you can't do that with
/dev/zero).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-07-29 09:58:39 +10:00
..
Makefile Introduce guest mem offset, static link example launcher 2007-10-23 15:49:50 +10:00
extract lguest: documentation I: Preparation 2007-07-26 11:35:16 -07:00
lguest.c lguest: turn Waker into a thread, not a process 2008-07-29 09:58:39 +10:00
lguest.txt lguest: lguest.txt documentation fix 2008-03-28 11:05:52 +11:00