On Sun, 23 Mar 2003 21:46:47 +0100 Fabrice Bellard fabrice.bellard@free.fr wrote:
The first release of the QEMU x86 emulator is available at http://bellard.org/qemu/. QEMU achieves a fast user space Linux x86 emulation on x86 and PowerPC Linux hosts by using dynamic translation. Its main goal is to be able to run the Wine project on non-x86 architectures.
It seems it might be in official kernel soon:
Date: Mon, 07 Apr 2003 12:40:38 +1000 From: Rusty Russell rusty@rustcorp.com.au Subject: [PATCH] Qemu support for PPC To: Fabrice Bellard fabrice.bellard@free.fr Cc: "linux-kernel@vger.kernel.org" linux-kernel@vger.kernel.org, "paulus@samba.org" paulus@samba.org, Marcelo Tosatti marcelo@conectiva.com.br
Paul, is this OK?
I'd like it in 2.4.21 if possible.
Thanks, Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Name: Qemu Kernel Patch for PPC Author: Rusty Russell Status: Tested on 2.4.21-pre6
D: Allow (0.1.5 or above) qemu to set the personality for emulation, D: so files in /usr/gnemul/x86-linux get looked up before normal files D: (this is the standard way of hooking in emulation libraries, etc).
diff -urpN --exclude TAGS -X /home/rusty/current-dontdiff --minimal linux-2.4.21-pre6/Documentation/Configure.help working-2.4.21-pre6-wagner/Documentation/Configure.help --- linux-2.4.21-pre6/Documentation/Configure.help 2003-03-27 12:10:45.000000000 +1100 +++ working-2.4.21-pre6-wagner/Documentation/Configure.help 2003-04-04 17:15:21.000000000 +1000 @@ -4123,6 +4123,19 @@ CONFIG_BINFMT_JAVA binaries directly. Note: this option is obsolete and scheduled for removal, use CONFIG_BINFMT_MISC instead.
+Kernel support for Linux/Intel ELF binaries +CONFIG_X86_EMU + Say Y here if you want to be able to execute Linux/Intel ELF + binaries just like native binaries on your PPC machine. For + this to work, you need to have /usr/gnemul/x86-linux populated + with Intel libraries. etc. + + You may answer M to compile the emulation support as a module and + later load the module when you want to use a Linux/Intel binary. The + module will be called x86emu.o. If unsure, say Y. + ...
Date: Mon, 7 Apr 2003 12:29:10 +1000 From: Paul Mackerras paulus@samba.org Subject: Re: [PATCH] Qemu support for PPC To: Rusty Russell rusty@rustcorp.com.au Cc: Fabrice Bellard fabrice.bellard@free.fr, "linux-kernel@vger.kernel.org" linux-kernel@vger.kernel.org, Marcelo Tosatti marcelo@conectiva.com.br
Rusty Russell writes:
Paul, is this OK?
I'd like it in 2.4.21 if possible.
Looks good, I'd like it too.
Just one comment:
+Kernel support for Linux/Intel ELF binaries +CONFIG_X86_EMU
- Say Y here if you want to be able to execute Linux/Intel ELF
- binaries just like native binaries on your PPC machine. For
- this to work, you need to have /usr/gnemul/x86-linux populated
- with Intel libraries. etc.
- You may answer M to compile the emulation support as a module and
- later load the module when you want to use a Linux/Intel binary. The
- module will be called x86emu.o. If unsure, say Y.
This should say that you need qemu as well, and it should probably include the URL to Fabrice's qemu web page.
Paul.
Regards, Nerijus