From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VvHJ-0000dp-RK for qemu-devel@nongnu.org; Fri, 27 Jun 2003 11:36:45 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VvGp-0008W5-9T for qemu-devel@nongnu.org; Fri, 27 Jun 2003 11:36:17 -0400 Received: from amarseille-201-1-6-23.w80-11.abo.wanadoo.fr ([80.11.137.23] helo=gaston) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VvAO-0004pr-Mp for qemu-devel@nongnu.org; Fri, 27 Jun 2003 11:29:36 -0400 Received: from benh by gaston with local (Exim 3.36 #1 (Debian)) id 19VvAJ-0003Uz-00 for ; Fri, 27 Jun 2003 17:29:31 +0200 Subject: Re: [Qemu-devel] Misc patches for qemu From: Benjamin Herrenschmidt In-Reply-To: <1056722122.4948.866.camel@jma1.dev.netgem.com> References: <1056485922.4948.688.camel@jma1.dev.netgem.com> <20030626155856.084b5ff0.jrydberg@night.trouble.net> <1056659914.4967.787.camel@jma1.dev.netgem.com> <1056701931.32105.14.camel@gaston> <1056722122.4948.866.camel@jma1.dev.netgem.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1056727770.32104.70.camel@gaston> Mime-Version: 1.0 Date: 27 Jun 2003 17:29:30 +0200 Sender: Benjamin Herrenschmidt Reply-To: qemu-devel@nongnu.org List-Id: List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , To: qemu-devel@nongnu.org > The goal for me is to be able to launch PPC programs including MacOS/MOL on a PC. > I would also like to launch OS-X processes under ix86 Linux, without the need > of the X kernel... A little help from inside the Linux kernel is needed, > but it seems that it can be done (I didn't say easily !). > I already have a few (native) BSD processes running under Linux using 2.4.20/21 kernels. As far as MOL is concerned, you don't want to "run it" within qemu/ppc, but rather intergrate the CPU emulation inside of MOL. You can't just "run" MOL like a normal program on PPC, it relies on a kernel module doing the MMU virtualization among others, and you probably want to avoid that when hosted on non-x86. But you'd have to talk to Samuel about that Launching OS-X processes is another matter. (I mean just launching processes and not the whole operating system within MOL). You have to provide a syscall translation layer, of course, for the BSD-ish, but a _lot_ of OS X apps also rely on some Mach kernel semantics, and a few things like the Windows Server etc... will want to talk to the IOKit via Mach messages. So there is significant work to do to be able to run GUI OS X apps in linux (even on PPC) Ben.