Skip to contentSkip to conversation

Hi All.

uml-devel Maltesh Badiger 2 participants 2 messages Sep 6, 2003 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hello All,

I am using User Mode Linux (UML).
I want to know the following :

1) How the uml kernel is possible to run in user mode (user space).
2) When, we apply the patch to a kernel image, Actually what happens to the original kernel? I want to know what changes takes place to the kernel code.

If anybody know about these.Please let know the answers.

Thanks in advance
Maltesh

=====
Thanks & Regards
Maltesh (98454-53510)

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw

Good day, Maltesh,

Quoted 5 lines · Maltesh Badiger

I am using User Mode Linux (UML).
I want to know the following :

1) How the uml kernel is possible to run in user mode (user space).

It's a _second_ kernel running on the system on top of the
original kernel. It's compiled just like any other program; it is loaded from the command line, initializes itself, and exits.

Quoted 4 lines

2) When, we apply the patch to a kernel image, Actually what happens to the original kernel? I want to know what changes takes place to the kernel code.

The original kernel is left just as it is. We take a complete
secnd copy of the kernel sources, apply this patch, and compile that into the UML executable.
Take a look at some of the UML documentation; it explains this
stuff pretty well.
Cheers,
- Bill

---------------------------------------------------------------------------
"... being a Linux user is sort of like living in a house
inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed."
-- Unix for Dummies, 2nd Edition
--------------------------------------------------------------------------
William Stearns ([email protected]). Mason, Buildkernel, freedups, p0f,
rsync-backup, ssh-keyinstall, dns-check, more at: http://www.stearns.org
Linux articles at: http://www.opensourcedigest.com
--------------------------------------------------------------------------

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel