linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net
Cc: Jeff Dike <jdike@addtoit.com>, "Wesley W. Terpstra" <wesley@terpstra.ca>
Subject: Re: [uml-devel] MacOS X port?
Date: Tue, 19 Apr 2005 17:58:31 +0200	[thread overview]
Message-ID: <200504191758.32356.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20050418140559.GA4219@ccure.user-mode-linux.org>

On Monday 18 April 2005 16:05, Jeff Dike wrote:
> On Mon, Apr 18, 2005 at 01:31:14PM +0200, Wesley W. Terpstra wrote:
> > Hi, I know that user-mode-linux has been ported to linux/ppc already.
> > What I was wondering is if there was work underway to port it to MacOS X?
> > That is to say, running a linux kernel from the BSD-ish MacOS X userland.
> >
> > This would be really cool; it would mean MacOS X users could run linux
> > applications 'natively' under UML with X forwarding to MacOS X's X
> > server. I couldn't imagine a more ideal configuration. :-)
> >
> > How hard would such an undertaking be?
>
> That's an OS port, which is very different from an arch port.  There is
> work underway (see the os abstraction patches at
> http://user-mode-linux.sf.net/patches.html) to make UML OS-portable.
>
> arch/um/include/os.h will show you what you currently have to implement for
> a new OS.  This is subject to change since we have only moved the existing
> OS-specific stuff and not tried to rationalize it yet.
>
> 				Jeff
Currently (i.e. in committed code, not counting the changes mentioned above), 
os.h abstracts away mostly some file access and process handling functions.

That said, to do such a port there is the need for a Mac OS X developer... 
since Mac OS X is still Unix that should not be too hard, but I don't know.

For instance, does ptrace() exists (check via "man ptrace")? I think that 
incapsulating this call is not a work in progress, and it won't be until we 
don't have at least another API to port UML to.

Also, I heard rumors of a FreeBSD port (although I don't remember if it was 
just a request); since the FreeBSD roots of MacOSX, a lot of code could 
probably be shared by those ports.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade





-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
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:[~2005-04-19 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-18 11:31 [uml-devel] MacOS X port? Wesley W. Terpstra
2005-04-18 14:05 ` Jeff Dike
2005-04-19 15:58   ` Blaisorblade [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=200504191758.32356.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=wesley@terpstra.ca \
    /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