From: Jeff Dike <jdike@addtoit.com>
To: John R Moser <nigelenki@comcast.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: UML and VMI ... how does UML work?
Date: Tue, 20 May 2008 09:45:17 -0400 [thread overview]
Message-ID: <20080520134517.GA6990@c2.user-mode-linux.org> (raw)
In-Reply-To: <loom.20080519T235035-223@post.gmane.org>
On Mon, May 19, 2008 at 11:58:40PM +0000, John R Moser wrote:
> I've been googling around but can't find a good resource for
> technically how UML works. I'm thinking about specifically the task
> of implementing a virtualization platform without kernel
> hooks... this lead me to dancing around checking out existing
> technology and noticing claims that UML can run on an unmodified
> kernel without special needs.
There's nothing magic. It turns out that the system call interface is
sufficient to virtualize an entire system, and UML is an existence
proof of that. The major mappings are:
system calls -> ptrace
memory -> mmap, munmap, mprotect
interrupts -> signals
timer -> interval timer
> In short, I'm curious about how UML works because I'm interested in knowing if
> it's theoretically possible to remove the UML code (i.e. compile it out) and
> then boot a kernel within an application that gives it a VMI structure to ...
> act exactly as UML.
This paragraph is very unclear to me...
Jeff
--
Work email - jdike at linux dot intel dot com
prev parent reply other threads:[~2008-05-20 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 23:58 UML and VMI ... how does UML work? John R Moser
2008-05-20 13:45 ` Jeff Dike [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080520134517.GA6990@c2.user-mode-linux.org \
--to=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nigelenki@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox