All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] user emulation status?
Date: Sun, 07 Sep 2008 22:28:54 +0200	[thread overview]
Message-ID: <48C43986.3030903@wpkg.org> (raw)

According to the list of supported guest OSes on 
http://bellard.org/qemu/status.html, these architectures have "OK/green" 
status for user emulation:

x86, ARM, SPARC, PPC, MIPS, m68k, SH-4.

If these architectures are really fully supported by Qemu, it should be 
possible to run a chroot of another architecture (i.e. on x86 we chroot 
to ARM base filesystem/pcakages).

I thought I'd give it a try, with current Qemu SVN, by installing Debian 
for different architectures with debootstrap command (debootstrap allows 
to install base filesystem/packages).


Debian Etch supports ARM, SPARC, PPC and MIPS, so I only tested those on 
x86 PC.


Results:

1. ARM - support is really great.
debootstrap installs base filesystem/packages without any errors in an 
ARM chroot made on x86 PC.
It's even possible to start some GUI applications.


2. MIPS - support is not so great.
It's not possible to install a base filesystem.
Chrooting from x86 to an already existing MIPS filesystem works, but 
lots of commands just break (i.e., dpkg exits with "Invalid argument"; 
some stracing reveals more details).


3. PPC
Chrooting from x86 to a PPC filesystem ends with a segmentation fault.


4. SPARC
Chrooting from x86 to a SPARC filesystem works, but it's only possible 
to start one command. After that, qemu-sparc process dies with HELPME... 
(I used the default --sparc_cpu).


Are you people interested in running processes in a foreign chroot (i.e. 
ARM chroot on x86 PC)?


I wanted to set up some daily automated tests which would fetch current 
SVN, build for ARM, MIPS, PPC and SPARC targets, try to install Debian 
with debootstrap in a chroot.


So far I see though, that only ARM would get "OK" result, MIPS would get 
"partial"; PPC and SPARC would fail.

Does it make sense to trace it on a daily basis?



-- 
Tomasz Chmielewski
http://wpkg.org

             reply	other threads:[~2008-09-07 20:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 20:28 Tomasz Chmielewski [this message]
2008-09-08  6:16 ` [Qemu-devel] user emulation status? Kirill A. Shutemov
2008-09-08 11:09 ` Thiemo Seufer
2008-09-08 14:31 ` Riku Voipio
2008-09-08 14:49   ` Tomasz Chmielewski
2008-09-08 15:04   ` Stuart Anderson
     [not found]   ` <48C64643.7050808@5etech.eu>
2008-09-09 17:07     ` Martin Mohring
2008-09-09 18:34 ` Miklos Vajna
2008-09-09 19:41   ` Martin Mohring
2008-09-09 20:01     ` Paul Brook
2008-09-09 21:16       ` michael
2008-09-09 21:19       ` Martin Mohring

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=48C43986.3030903@wpkg.org \
    --to=mangoo@wpkg.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.