All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] MacOS X port?
@ 2005-04-18 11:31 Wesley W. Terpstra
  2005-04-18 14:05 ` Jeff Dike
  0 siblings, 1 reply; 3+ messages in thread
From: Wesley W. Terpstra @ 2005-04-18 11:31 UTC (permalink / raw)
  To: user-mode-linux-devel

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?

PS. I am not subscribed to this list; please CC me.

-- 
Wesley W. Terpstra


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] MacOS X port?
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Dike @ 2005-04-18 14:05 UTC (permalink / raw)
  To: Wesley W. Terpstra; +Cc: user-mode-linux-devel

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [uml-devel] MacOS X port?
  2005-04-18 14:05 ` Jeff Dike
@ 2005-04-19 15:58   ` Blaisorblade
  0 siblings, 0 replies; 3+ messages in thread
From: Blaisorblade @ 2005-04-19 15:58 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Jeff Dike, Wesley W. Terpstra

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-19 19:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.