qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jocelyn Mayer <jma@netgem.com>
To: qemu mailing list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Misc patches for qemu
Date: 27 Jun 2003 15:55:22 +0200	[thread overview]
Message-ID: <1056722122.4948.866.camel@jma1.dev.netgem.com> (raw)
In-Reply-To: <1056701931.32105.14.camel@gaston>

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 <jma@netgem.com>

  reply	other threads:[~2003-06-27 13:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 20:18 [Qemu-devel] Misc patches for qemu Jocelyn Mayer
2003-06-26 13:58 ` Johan Rydberg
2003-06-26 20:38   ` Jocelyn Mayer
2003-06-27  8:18     ` Benjamin Herrenschmidt
2003-06-27 13:55       ` Jocelyn Mayer [this message]
2003-06-27 15:29         ` Benjamin Herrenschmidt
2003-06-27 15:49           ` Benjamin Herrenschmidt
2003-06-30 22:41           ` Jocelyn Mayer

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=1056722122.4948.866.camel@jma1.dev.netgem.com \
    --to=jma@netgem.com \
    --cc=qemu-devel@nongnu.org \
    /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;
as well as URLs for NNTP newsgroup(s).