Re: [uml-devel] Regarding Process creation in UML tracing thread mode

2007-03-21 Thread Krishnappa Abhijith-A21204
/um does UML uses the host schedule itself ? Regards, Abhi -Original Message- From: Jeff Dike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 7:25 PM To: Krishnappa Abhijith-A21204 Cc: user-mode-linux-devel@lists.sourceforge.net Subject: Re: [uml-devel] Regarding Process

[uml-devel] Regarding Process creation in UML tracing thread mode

2007-03-21 Thread Krishnappa Abhijith-A21204
Hi, Regarding fork() implementation UML in tracing thread (tt) mode Whenever we call fork in UML the following happens: 2 process gets created 1 on UML say U_1 and 1 on HOST say H_1 Process in host gets created by tracing thread but how does a process in UML gets created ? Also

[uml-devel] Regarding VM in UML

2007-03-21 Thread Krishnappa Abhijith-A21204
Hi, Regarding VM in UML (tracing thread mode). Why we need a seprate VM for UML as we create a new process in host for every process that created in UML and the new HOST address space is provided by Host kernel itself ? Thanks, Abhi --

[uml-devel] Regarding Kernel mode in UML process.

2007-03-18 Thread Krishnappa Abhijith-A21204
Hi, Regarding Kernel mode in UML process. This question is on UML TT mode A UML process wil be in Kernel mode only for executing the getpid(), and also some signals is a UML specified stack. Is there any other way that UML process executes in kernel mode. ? Also when UML process enters the

[uml-devel] Regarding Virtual Memory Emulation in UML.

2007-03-18 Thread Krishnappa Abhijith-A21204
Hi, Regarding Virtual Memory Emulation in UML (TT mode). UML will create a file of Physical mem size and it allocates memory to UML process by mmap() ing it. Also in Jeff's article I read that Kernel's text and Data are located in the process address space Why the kernels text and dat

[uml-devel] Regarding context switching in UML.

2007-03-18 Thread Krishnappa Abhijith-A21204
Hi, Regarding Context switching in UML. Each process running in UML will have corresponding process in HOST. So when the context switching in HOST happens, UML has to switch the corresponding UML process by saving context etc... will this be done by tracing thread Also how does process

[uml-devel] Regarding System call virtualization

2007-03-18 Thread Krishnappa Abhijith-A21204
Hi, Is the below flow correct for UML (TT mode) 1. UML process wants to execute a sys call say open(). 2. UML TT comes to know this annuls with getpid(), and UML TT executes open() on behalf of UML process. 3. UML process executes the getpid() and returns and signals TT. 4. By this time U

[uml-devel] Regarding fork() implementation in UML

2007-03-15 Thread Krishnappa Abhijith-A21204
Hi, SORRY for bugging you guys so much... Regarding fork() implementation in UML I was going through the below code long sys_fork(void) { long ret; current->thread.forking = 1; ret = do_fork(SIGCHLD, UPT_SP(¤t->thread.regs.regs), ¤t->thread.regs, 0, NULL, NULL); curr

[uml-devel] Regarding UML system call implementation

2007-03-15 Thread Krishnappa Abhijith-A21204
Hi, I have a question regarding system call implementation on Linux In order to execute the system call in user space, the process is made to execute the system call switch on its kernel stack Why this is done... ? Also UML queues a signal ( SIGUSR ) to the process in order to make

Re: [uml-devel] Regarding Address space in UML

2007-03-14 Thread Krishnappa Abhijith-A21204
the signals that host KERNEL delivers ? Pls let me know. Thanks, Abhi -Original Message- From: Jeff Dike [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 7:40 PM To: Krishnappa Abhijith-A21204 Cc: user-mode-linux-devel@lists.sourceforge.net Subject: Re: [uml-devel] Regarding

[uml-devel] Regarding Address space in UML

2007-03-14 Thread Krishnappa Abhijith-A21204
Hi, I'm Abhi new to UML. I had a question on Process address space in UML. Will there be a tracing thread for each process created in UML ? which is responsible for system call tracking ? Also will the address space of a process in UML also consists of the corresponding Tracing thread ? P

Re: [uml-devel] Regarding getpid

2006-12-12 Thread Krishnappa Abhijith-A21204
nappa Abhijith-A21204 Cc: User-mode Linux Kernel Development Subject: Re: [uml-devel] Regarding getpid On Tue, 12 Dec 2006, Krishnappa Abhijith-A21204 wrote: > "Process system calls must be nullified in the host, and > this is done by converting them into getpid. " >

[uml-devel] Regarding getpid

2006-12-11 Thread Krishnappa Abhijith-A21204
Hi , "Process system calls must be nullified in the host, and this is done by converting them into getpid. " How is system calls are nullified by converting them to getpid() ? Pls let me know. Regards, Abhi - T

Re: [uml-devel] User mode linux Source code

2006-12-07 Thread Krishnappa Abhijith-A21204
, December 07, 2006 11:36 AM To: Krishnappa Abhijith-A21204 Cc: user-mode-linux-devel@lists.sourceforge.net Subject: Re: [uml-devel] User mode linux Source code On Thu, Dec 07, 2006 at 12:12:37PM +0800, Krishnappa Abhijith-A21204 wrote: > I'm a newbie to UML.Can you pp

[uml-devel] User mode linux Source code

2006-12-06 Thread Krishnappa Abhijith-A21204
Hi All, I'm a newbie to UML.Can you ppl let me know from where I can download UML source code ? Thanks, Abhijith - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay pan