From: Rob Landley <rob@landley.net>
To: Alexander Graf <agraf@suse.de>
Cc: "Andreas Färber" <andreas.faerber@web.de>,
"Hervé Poussineau" <hpoussin@reactos.org>,
"QEMU Developers" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation
Date: Wed, 5 Jan 2011 06:07:48 -0600 [thread overview]
Message-ID: <201101050607.49133.rob@landley.net> (raw)
In-Reply-To: <58A31A9F-513B-4FFB-92C0-C7CB4586F97F@suse.de>
On Tuesday 04 January 2011 15:00:12 Alexander Graf wrote:
> >> I have this very issue with s390. The only host to run (and compile)
> >> this on is an s390. And few people have those. So it breaks from time to
> >> time.
> >
> > I have some pages bookmarked hinting how to get S390 Linux to boot under
> > hercules, the same way I have instructions for running m68k under Aranym.
> > But in general, if QEMU doesn't support it I have a hard time making
> > myself care...
>
> Few people jump through the hoops to run an emulator to compile and run
> qemu inside then when they only want to verify if their patches break
> something. The general philosophy I've seen is that the best we can expect
> is a "does ./configure && make break on your x86_64 box?".
If you're talking about running qemu on a non-x86 host, I don't do that. But
if you're talking about running non-x86 code on qemu, my project's motto is
"we cross compile so you don't have to". The thing is designed so you grab a
tarball and go "./run-emulator.sh" to get a shell prompt in your emulated
environment, with full development tools. If you go "./dev-environment.sh"
instead you get a 2 gigabyte pesistent ext2 image mounted on /home so you can
wget and build fairly large packages.
I've built the whole of Linux From Scratch 6.7 inside this this, on a couple
different platforms. (Still debugging powerpc and mips, probably uClibc
issues. Less spare time than I used to have...)
In theory I could do the same with qemu itself, just like any other software
package. If you feed it just one architecture in a --target-list it shouldn't
take _too_ long to build. But in practice running the result would be too
slow to do more than boot to a shell prompt and demonstrate that it worked.
> > I have been know to test out of tree architecture patches, though. I
> > only ever got sh4 to work by patching qemu, for example.
>
> I really dislike out-of-tree.
I can't stand 'em, but I don't control what gets merged into most projects.
> As soon as an architecture runs publicly
> available code, it should get upstream, so others can benefit from it.
Entirely agreed. I've been waiting for any of the m68k improvements to QEMU
(to run more than just coldfire) work to get merged for a long time. And I
have a todo item to look at https://github.com/uli/qemu-s390 also...
> Alex
Rob
--
GPLv3: as worthy a successor as The Phantom Menace, as timely as Duke Nukem
Forever, and as welcome as New Coke.
next prev parent reply other threads:[~2011-01-05 12:07 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-14 0:49 [Qemu-devel] [PATCH 0/4] ppc: Fix PReP emulation Andreas Färber
2010-12-14 0:49 ` [Qemu-devel] [PATCH 1/4] prep: Remove bogus BIOS size check Andreas Färber
2010-12-14 0:49 ` [Qemu-devel] [PATCH 2/4] prep: Add ELF support Andreas Färber
2010-12-14 0:49 ` [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ Andreas Färber
2010-12-14 0:49 ` [Qemu-devel] [FYI 4/4] prep: Quickfix for ioport Andreas Färber
2010-12-26 23:28 ` Andreas Färber
2010-12-27 0:11 ` Alexander Graf
2010-12-27 0:25 ` Andreas Färber
2011-01-04 20:57 ` Alexander Graf
2011-01-04 21:36 ` Andreas Färber
2011-01-04 21:43 ` Alexander Graf
2011-01-04 21:59 ` Andreas Färber
2011-01-04 22:02 ` Alexander Graf
2010-12-20 6:37 ` [Qemu-devel] [PATCH, RFC 3/4] prep: Fix duplicate ISA IDE IRQ Andreas Färber
2010-12-20 9:07 ` Alexander Graf
2011-01-16 23:34 ` Aurelien Jarno
2010-12-19 9:52 ` [Qemu-devel] Re: [PATCH 1/4] prep: Remove bogus BIOS size check Alexander Graf
2010-12-19 12:26 ` Andreas Färber
2010-12-19 15:27 ` Alexander Graf
2010-12-19 9:54 ` [Qemu-devel] Re: [PATCH 0/4] ppc: Fix PReP emulation Alexander Graf
2010-12-19 15:04 ` Andreas Färber
2010-12-19 15:34 ` Alexander Graf
2010-12-19 19:12 ` Andreas Färber
2010-12-20 9:04 ` Alexander Graf
2010-12-20 23:00 ` Andreas Färber
2010-12-20 23:07 ` Alexander Graf
2010-12-21 0:33 ` Andreas Färber
2010-12-21 0:46 ` Alexander Graf
2010-12-21 23:51 ` Andreas Färber
2010-12-22 8:10 ` Alexander Graf
2010-12-27 1:01 ` Rob Landley
2011-01-04 21:00 ` Alexander Graf
2011-01-05 12:07 ` Rob Landley [this message]
2011-01-05 12:31 ` Alexander Graf
2011-01-06 9:31 ` Rob Landley
2010-12-27 1:03 ` Rob Landley
2010-12-27 1:00 ` Rob Landley
[not found] <20101220090728.40FF5590B1@zimbra14-e2.priv.proxad.net>
2010-12-20 12:19 ` [Qemu-devel] " François Revol
2010-12-20 12:30 ` [Qemu-devel] " Alexander Graf
2010-12-20 22:24 ` Andreas Färber
2010-12-20 22:32 ` Alexander Graf
2010-12-20 22:39 ` Alexander Graf
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=201101050607.49133.rob@landley.net \
--to=rob@landley.net \
--cc=agraf@suse.de \
--cc=andreas.faerber@web.de \
--cc=hpoussin@reactos.org \
--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).