On Mon, Mar 03, 2008 at 04:50:16PM +0530, Pravin wrote: > I do consider that UML is act of porting Linux on Linux itself. This > allows linux kernel (guest) to run as user-process on linux kernel > (host).
Correct. > I am studying the possibility of porting Linux on Minix on similar > lines. This way, one should be able to run linux on minix systems like > user process. Something parallel to L4Linux which is port of linux on > L4 micro-kernel, and mklinux which is a port of linux on Mach > micro-kernel. > > I wanted some information regarding how we go about this kind of > porting, and what kind of technical problems are expected in such > porting. The first thing to do is make sure you have a way of virtualizing Linux (int 0x80/sysenter/syscall) system calls, which means that you can prevent them from executing on the host, you can read the system call and the arguments, and make it return with the result of your choice, including updating output buffers. You also need to be able to intercept and nullify signals. Some mechanism for updating a process address space is needed. There are various ways of doing this, and UML has probably tried all of them. > If there are any documentation/links available about these kind of > porting then it will be of great help for me. Nothing for porting to another OS. Jeff -- Work email - jdike at linux dot intel dot com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user