From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bzcm1-0003zs-3r for qemu-devel@nongnu.org; Tue, 24 Aug 2004 10:59:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bzclz-0003yq-Fw for qemu-devel@nongnu.org; Tue, 24 Aug 2004 10:59:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bzclz-0003yl-C4 for qemu-devel@nongnu.org; Tue, 24 Aug 2004 10:59:43 -0400 Received: from [62.241.160.73] (helo=colossus.systems.pipex.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BzchH-0006Pu-OU for qemu-devel@nongnu.org; Tue, 24 Aug 2004 10:54:52 -0400 From: Paul Brook Subject: Re: [Qemu-devel] qemu for x86 plugins on PPC? Date: Tue, 24 Aug 2004 15:54:46 +0100 References: <1093358441.4535.76.camel@sicilia.dcs.gla.ac.uk> In-Reply-To: <1093358441.4535.76.camel@sicilia.dcs.gla.ac.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200408241554.46999.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Wim Vanderbauwhede On Tuesday 24 August 2004 15:40, Wim Vanderbauwhede wrote: > Hi qemu-guru's, > > Would it be possible to use qemu to have x86 plugins work in a PPC > browser? The plugins for mozilla are .so shared libraries, so I imagine > that it should be possible based on usermode qemu-i386. > A Flash-plugin for mozilla on PPC is a kind of holy grail, it would be > great if qemu could provide this. I don't think this is going to work. Shared objects (.so) are quite tightly tied into the main executable. For example they're likely to share memory structures, with no cleanly defined interface between them. You're effectively asking qemu link together code compiled for two (very) different targets into a single executable. By contrast the linux syscall layer emulated by qemu-user is clean, well defined, and relatively simple. However, you should be able to run x86 mozilla with x86 plugins under qemu on a PPC machine. I haven't tried this. Paul