qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] user emulation status?
@ 2008-09-07 20:28 Tomasz Chmielewski
  2008-09-08  6:16 ` Kirill A. Shutemov
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Tomasz Chmielewski @ 2008-09-07 20:28 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-09 21:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-07 20:28 [Qemu-devel] user emulation status? Tomasz Chmielewski
2008-09-08  6:16 ` 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

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).