From: "J. Mayer" <l_indien@magic.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] AMD64 Gentoo needs help
Date: Thu, 23 Sep 2004 23:06:51 +0200 [thread overview]
Message-ID: <1095973611.19743.50.camel@rapid> (raw)
In-Reply-To: <Pine.LNX.4.44.0409232116560.4094-100000@wrasse.demon.co.uk>
On Thu, 2004-09-23 at 22:21, Martin Garton wrote:
> On Thu, 23 Sep 2004, jmf wrote:
>
Hi,
> > I treid that and before the segfault below happen, now a black window
> > appears and dissappears very quickly
>
> I believe the problem is that qemu is not 64bit clean code because it does
> things like casting from pointers to ints and back which is okay when they
> are the same size (ie, on x86) but not when a pointer is twice as long as
> an int (ie, on amd64) You will have seen warnings about this when
> compiling.
You may like to know that the ppc emulation runs well on amd64. A lots
of 64 bits cleanup have already been made. The warning you get during
compilation (should) concern only addresses in the emulated environment.
As qemu only emulates 32 bits machines for now, it's not a real issue.
The only way I ever succeeded running qemu-x86 on amd64 is to compile
and execute it into a 32 bits chrooted environment: I got a full 32 bits
gentoo into a separate partition to achieve this.
>
> I looked at the code with a view to making it amd64 friendly, but I'm out
> of my depth. If someone wants to give me some hints I might find some
> time to have another look though.
I think the issues may be located in or very near the x86 emulation
code. I never had the courage to compare step by step the execution in
the 32 bits vs the 64 bits environment to find where is the bug, but I
really think there is just a few bugs to locate and fix.
Regards.
--
J. Mayer <l_indien@magic.fr>
Never organized
next prev parent reply other threads:[~2004-09-23 21:13 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-23 19:36 [Qemu-devel] AMD64 Gentoo needs help jmf
2004-09-23 20:16 ` Martin Garton
2004-09-23 20:21 ` Martin Garton
2004-09-23 21:06 ` J. Mayer [this message]
2004-09-24 9:46 ` Johannes Schindelin
2004-09-25 9:23 ` Martin Garton
2004-09-25 9:39 ` [Qemu-devel] " Gabriel Ebner
2004-09-23 21:30 ` [Qemu-devel] " Paul Brook
2004-09-25 9:44 ` [Qemu-devel] " Gabriel Ebner
-- strict thread matches above, loose matches on Subject: below --
2004-09-23 21:56 [Qemu-devel] " jmf
2004-09-23 13:46 jmf
2004-09-23 15:50 ` Paul Brook
2004-09-23 16:49 ` Andrew Wilkinson
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=1095973611.19743.50.camel@rapid \
--to=l_indien@magic.fr \
--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).