Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DGvrj-0005oo-Hm for qemu-devel@nongnu.org; Thu, 31 Mar 2005 04:21:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DGvrb-0005oB-Ut for qemu-devel@nongnu.org; Thu, 31 Mar 2005 04:21:22 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DGvkj-0004ob-Lr for qemu-devel@nongnu.org; Thu, 31 Mar 2005 04:14:13 -0500 Received: from [134.58.240.41] (helo=nibbel.kulnet.kuleuven.ac.be) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DGvFB-0004GB-IO for qemu-devel@nongnu.org; Thu, 31 Mar 2005 03:41:38 -0500 Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id E23464BCE3 for ; Thu, 31 Mar 2005 10:41:34 +0200 (CEST) Received: from lepidus.kulnet.kuleuven.ac.be (lepidus.kulnet.kuleuven.ac.be [134.58.240.72]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 7AC2F4BCC3 for ; Thu, 31 Mar 2005 10:41:34 +0200 (CEST) Received: from [127.0.0.1] (srv04.mech.kuleuven.ac.be [134.58.24.40]) by lepidus.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 273CA380081 for ; Thu, 31 Mar 2005 10:41:32 +0200 (CEST) Message-ID: <424BB7B9.4030005@mech.kuleuven.ac.be> Date: Thu, 31 Mar 2005 10:41:29 +0200 From: Panagiotis Issaris MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu ELF Loader Kernel integration References: <200503311048.37371.mailinglists@futureware.at> In-Reply-To: <200503311048.37371.mailinglists@futureware.at> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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 Hi, Philipp Gühring schreef: >Hi, > >Is it possible to integrate qemu(-ppc) into the Linux kernel, so that when a >program tries to start a Linux-ELF-ppc executable, that qemu is being used to >start it normally? > >It would be useful for embedded systems development for cross-compilation: >The resulting binaries could be tried natively on the development system. >If I would do it manually, I could start >qemu-ppc binary >But in some enviroments, the binary is started automatically by a third-party >product, therefore being able to launch the binary directly would be helpful. > > Yes, have a look at linux-2.6.11/Documentation/binfmt_misc.txt. With friendly regards, Takis -- K.U.Leuven, Mechanical Eng., Mechatronics & Robotics Research Group http://people.mech.kuleuven.ac.be/~pissaris/