lguest源码系列之drivers/lguest/lguest_user.c

 [ drivers/lguest/lguest_user.c ]

This contains all the /dev/lguest code, whereby the userspace launcher controls and communicates with the Guest.  For example,the first write will tell us the Guest's memory layout and entry point.  A read will run the Guest until something happens, such as
a signal or the Guest doing a NOTIFY out to the Launcher.  There is also a way for the Launcher to attach eventfds to particular NOTIFY values instead of returning from the read() call.
 
 

你可能感兴趣的:(虚拟机,linux,内核源码,lguest)