From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5r3t-0006Zb-7E for qemu-devel@nongnu.org; Thu, 18 Aug 2005 16:32:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5r3i-0006VC-GS for qemu-devel@nongnu.org; Thu, 18 Aug 2005 16:32:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5r3h-0006Ne-4r for qemu-devel@nongnu.org; Thu, 18 Aug 2005 16:32:17 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5r2P-0001V6-Ej for qemu-devel@nongnu.org; Thu, 18 Aug 2005 16:30:57 -0400 Received: from jbrown.mylinuxbox.org (jma-box2.student.umd.edu [129.2.250.213]) by po1.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j7IKEKIw024941 for ; Thu, 18 Aug 2005 16:14:21 -0400 (EDT) Date: Thu, 18 Aug 2005 15:23:28 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel]kqemu static link? Message-ID: <20050818192328.GA8916@jbrown.mylinuxbox.org> References: <9e72fb5d050818083753971e1d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e72fb5d050818083753971e1d@mail.gmail.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 On Thu, Aug 18, 2005 at 05:37:28PM +0200, Thomas Irlet wrote: > Is it possible to statically link the kqemu module into the linux > kernel 2.6.x)? (because I would like to disable loadable modules). > > If yes, how can I do it? > > Thanks a lot > > Thomas Irlet > It is technically possible. The binary-only part of kqemu is just the core, the wrapper that turns it into a kernel module is released with source code. So, you can simply edit the right kernel makefiles and put the right files in the right places, and possibly make a few tiny changes in the source of the kqemu linux wrapper, and you should be able to get it to compile in statically. However, I have never done this and can not offer you advice on how to do it. Also, it may not legal to release the modified kernel source tree because you are mixing GPL code with closed source (keeping the kernel for yourself only should be ok though). -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.