From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HHjSn-0004Ob-SR for qemu-devel@nongnu.org; Thu, 15 Feb 2007 11:28:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HHjSk-0004N7-0p for qemu-devel@nongnu.org; Thu, 15 Feb 2007 11:28:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HHjSj-0004N4-S6 for qemu-devel@nongnu.org; Thu, 15 Feb 2007 11:28:01 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HHjSj-0004uT-Cm for qemu-devel@nongnu.org; Thu, 15 Feb 2007 11:28:01 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] don't require a disk image for network boot Date: Thu, 15 Feb 2007 16:27:54 +0000 References: <87bqjyxg10.fsf@tac.ki.iif.hu> <20070215101744.6a639186@thomas.toulouse> In-Reply-To: <20070215101744.6a639186@thomas.toulouse> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200702151627.54818.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 On Thursday 15 February 2007 09:17, Thomas Petazzoni wrote: > Hi, > > Le Tue, 13 Feb 2007 15:58:13 +0100, > > "andrzej zaborowski" a =E9crit : > > Subject: don't require a disk image for network boot > > BTW, is there a reason why a disk image is required when using the > -kernel option ? > > In the following case: -kernel vmlinuz -append "nfsroot=3Dblabla", we > could boot over the network, without the need for any disk image, but > Qemu wants to have a disk image. Is it mandatory ? The BIOS doesn't know about the -kernel option, so qemu replaces the first= =20 sector of the disk image with a dummy bootloader that jumps to the preloade= d=20 kernel. It can only do that if there is an image to replace. Paul