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 19Vtdv-0006AS-Jh for qemu-devel@nongnu.org; Fri, 27 Jun 2003 09:51:59 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19Vtdu-00069h-5i for qemu-devel@nongnu.org; Fri, 27 Jun 2003 09:51:58 -0400 Received: from gw.netgem.com ([195.68.2.34] helo=gw.dev.netgem.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Vtdt-00069G-KN for qemu-devel@nongnu.org; Fri, 27 Jun 2003 09:51:57 -0400 Received: from jma1.dev.netgem.com ([172.17.17.138] ident=jma) by gw.dev.netgem.com with esmtp (Exim 3.12 #1 (Debian)) id 19VteH-0005dJ-00 for ; Fri, 27 Jun 2003 15:52:21 +0200 Subject: Re: [Qemu-devel] Misc patches for qemu From: Jocelyn Mayer In-Reply-To: <1056701931.32105.14.camel@gaston> 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> Content-Type: text/plain Message-Id: <1056722122.4948.866.camel@jma1.dev.netgem.com> Mime-Version: 1.0 Date: 27 Jun 2003 15:55:22 +0200 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , To: qemu mailing list On Fri, 2003-06-27 at 10:18, Benjamin Herrenschmidt wrote: > > > When can we expect the PPC target? > > > > Well I hope in a few days, maybe next week: > > I got all basic arithmetic and logical opcodes OK, > > getting no differences between a real PPC and qemu. > > But "real" programs like bash still crash after > > a few thousands of instructions... > > > > .../... > > It would be interesting to work out a way to use the PPC emulation > to get the MacOnLinux virtual machine to run on non-PPC hardware :) > > That would allow basically to run MacOS 9 and X on any machine... > > I know Samuel already did some endian-fixing work for this and > is currently mostly lacking the actual CPU emulation. > > Ben. > Well, that's quite what I'm trying to do. For now, the only program I can launch is a program I do that executes a lot of different instructions and dump the processor state before and after the execution, doing this with a lot of different operands. I can do this natively on PPC, in a emulated PPC on my Ibook and also on my PC. 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. I'm curious to see the patches you talk about and try them to see if I can execute more programs... But I noticed that the stack prepared by the Elf loader is really far from the one from a regular Linux kernel. I saw strange issues in this code, and I'll try to fix some things during the next week-end... -- Jocelyn Mayer