From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19fb8Y-0005RQ-Br for qemu-devel@nongnu.org; Thu, 24 Jul 2003 04:07:42 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19fb8N-0004ud-0f for qemu-devel@nongnu.org; Thu, 24 Jul 2003 04:07:31 -0400 Received: from alcor.imaginet.fr ([195.68.86.12]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19fb6a-000465-1R for qemu-devel@nongnu.org; Thu, 24 Jul 2003 04:05:40 -0400 Received: from free.fr (gw.netgem.com [195.68.2.34]) by alcor.imaginet.fr (8.11.6+Sun/8.8.8) with ESMTP id h6O87dR18851 for ; Thu, 24 Jul 2003 10:07:40 +0200 (MET DST) Message-ID: <3F1F948F.8040309@free.fr> Date: Thu, 24 Jul 2003 10:10:55 +0200 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu static elf boot References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, A static ELF loader would be easy to add, but I don't know what is the standard way to pass command line parameters to an OS. I agree that it is an important feature. Do you have images of a complete netbsd system (kernel with serial console + small disk image) ? Fabrice. Nicolas Ollinger wrote: > Hi, > > I just tried qemu and I am really impressed by its speed! > > By reading vl.c, more precisely the part that loads the bzImage, I > realized how messy the linux boot process is (please don't flame :-)). > > Would it be possible to have a program in the spirit of vl which will > just run a standard static ELF binary, passing the command line parameters > to it. This would allow booting some other OS's kernel with more direct > boot process, like for example NetBSD. > > A sample (gzipped) ELF kernel is available at the URL > > ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/i386/binary/kernel/netbsd-GENERIC.gz > > Regards, > Nicolas.