All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Dike <jdike@addtoit.com>
To: Constantine Kousoulos <wuwei@freemail.gr>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] porting uml to Hurd
Date: Wed, 20 Dec 2006 13:08:30 -0500	[thread overview]
Message-ID: <20061220180830.GE5488@ccure.user-mode-linux.org> (raw)
In-Reply-To: <458142B3.7050807@freemail.gr>

On Thu, Dec 14, 2006 at 02:25:23PM +0200, Constantine Kousoulos wrote:
> Can you supply me with more info (docs, urls, directions to source 
> code, etc) on what needs to be done in order to accomplish the 
> port? Technical details would really help me discover if uml can 
> actually be ported to the Hurd.

There's no documentation to speak of wrt to an OS port.  There is some
outdated architecture porting information at
http://user-mode-linux.sourceforge.net/arch-port.html, some of which
is relevant.

Here's a little list off the top of my head, for a skas-like mode  -
	interception and nullification of another process system calls
	ability to change memory mappings of another process
	interception and nullification of signals received by another
process

If you can handle those, you are probably in good shape.

If you can't do the second two, then a tt-like mode might be possible,
where you map the UML kernel into every UML process address space.
Then those become trivial since "the other process" is a UML process.
However, in this case, there are other nasty tricks needed, like
making sure that the host processes have different address spaces, but
the UML portions are shared.  The kernel data obviously needs to be
shared across all processes.

Look at the interface declared in arch/um/include/os.h and defined in
arch/um/os-Linux/.  It's probably unnecessarily wide at this point,
and contains Linux-isms which shouldn't be there, but that's my
current stab at an OS abstraction interface.

				Jeff
-- 
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2006-12-20 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 12:25 [uml-devel] porting uml to Hurd Constantine Kousoulos
2006-12-20 18:08 ` Jeff Dike [this message]
2006-12-21 19:54   ` Erik Paulson

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=20061220180830.GE5488@ccure.user-mode-linux.org \
    --to=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=wuwei@freemail.gr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.