qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Cc: Darwine Devel <darwine-devel@lists.sourceforge.net>
Subject: Re: [Qemu-devel] Qemu: darwine flavour or bellard flavour?; darwine-qemu-fast?; darwine-wine-ppc+darwine-qemu-x86?
Date: Wed, 09 Jun 2004 21:48:03 +0200	[thread overview]
Message-ID: <40C76973.3070608@bellard.org> (raw)
In-Reply-To: <955A2196-B9DB-11D8-99BE-0003934F6406@mac.com>

John Davidorff Pell wrote:
> I was just thinking about this: It might be a good idea to CC all posts 
> to this list to the main qemu list, so that a) we can get more feedback 
> b) we can be more visible to other qemu maintainers b) fabrice sees that 
> he should help out in the port to MacOSX (Which is likely the best way 
> to get it running and happy). :-)
> 
> Also, those of you working on darwine-qemu seem to be focusing only on 
> the system-emulation, not on the user-mode emulation (qemu-fast). 

You mean qemu-i386 ?

> Personally, I would *really* really *really* like user-mode emulation on 
> MacOSX (but i'm not actually working on code, so I can't complain too 
> much). I would think that it would make communication between 
> darwine-wine and darwine-qemu easier if both were in the same space, 
> instead of one thinking its on/is its own system.

User mode emulation with qemu-i386 is not interesting for the darwine 
project. You should concentrate in using libqemu in wine. Look at the 
example in qemu/tests/qruncom.c.

> Lastly, I was thinking about how darwine is going to actually use x86 
> code from qemu in ppc code from wine. I think that making the user-mode 
> emulation work might allow special hooks to be added into the 
> darwine-qemu-fast so that the wine API can be called much like the 
> syscalls are translated (or would be translated). Endianness is an 
> issue, but if all is called from x86 code, can we trick it by just 
> keeping it little-endian (or am I just being stupid)?
> 
> http://www.winehq.com/site/docs/wine-faq/index#INTEGRATE-AN-X86-EMULATOR

You should add an automatic stub code generator which generates code to 
swap the arguments for all wine entry points.

Fabrice.

  parent reply	other threads:[~2004-06-09 19:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-09  6:09 [Qemu-devel] Qemu: darwine flavour or bellard flavour?; darwine-qemu-fast?; darwine-wine-ppc+darwine-qemu-x86? John Davidorff Pell
2004-06-09 13:56 ` Pierre d'Herbemont
2004-06-09 19:48 ` Fabrice Bellard [this message]
2004-06-09 19:58   ` Lionel Ulmer

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=40C76973.3070608@bellard.org \
    --to=fabrice@bellard.org \
    --cc=darwine-devel@lists.sourceforge.net \
    --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).