Skip to contentSkip to conversation

MacOS X port?

uml-devel Wesley W. Terpstra 3 participants 3 messages Apr 18, 2005 – Apr 19, 2005 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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.

Signature · 12 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#1 lore raw
Quoted 9 lines · Wesley W. Terpstra

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 15 lines · Jeff Dike
Quoted 9 lines · Wesley W. Terpstra

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.

Quoted 5 lines

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.

Signature · 17 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel