From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LTdfW-00085M-3G for qemu-devel@nongnu.org; Sun, 01 Feb 2009 09:51:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LTdfS-00084h-2G for qemu-devel@nongnu.org; Sun, 01 Feb 2009 09:51:28 -0500 Received: from [199.232.76.173] (port=38951 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LTdfR-00084X-9O for qemu-devel@nongnu.org; Sun, 01 Feb 2009 09:51:25 -0500 Received: from mail-bw0-f12.google.com ([209.85.218.12]:37789) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LTdfQ-0005RL-KM for qemu-devel@nongnu.org; Sun, 01 Feb 2009 09:51:24 -0500 Received: by bwz5 with SMTP id 5so879772bwz.10 for ; Sun, 01 Feb 2009 06:51:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1233468649.5990.3.camel@himanshu-laptop> References: <1233468649.5990.3.camel@himanshu-laptop> Date: Sun, 1 Feb 2009 16:51:22 +0200 Message-ID: Subject: Re: [Qemu-devel] How linux kernel is directly loaded? From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: thakur@symmetricore.com, qemu-devel@nongnu.org On 2/1/09, Thakur wrote: > Hi, > > I was searching for code in qemu which is directly able to load linux > kernel with -k option. Which file implements it? Can someone point me to > location where this load process is described? My objective is to load > the Minix kernel in same fashion. For PC architecture, it's done in hw/pc.c. There are ELF, a.out and binary load functions available, if you need them for Minix.