From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXKI1-0007Wr-6D for qemu-devel@nongnu.org; Tue, 10 Oct 2006 12:17:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXKI0-0007V9-J9 for qemu-devel@nongnu.org; Tue, 10 Oct 2006 12:17:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXKHz-0007Up-VT for qemu-devel@nongnu.org; Tue, 10 Oct 2006 12:17:08 -0400 Received: from [213.133.111.57] (helo=bugaboo.mu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GXKPo-0003iC-7K for qemu-devel@nongnu.org; Tue, 10 Oct 2006 12:25:12 -0400 Message-ID: <452BC781.8040707@bluegap.ch> Date: Tue, 10 Oct 2006 18:17:05 +0200 From: Markus Schiltknecht MIME-Version: 1.0 Subject: Re: [Qemu-devel] booting a linux kernel from NFS References: <452BC045.20905@bluegap.ch> <200610101200.36417.rob@landley.net> In-Reply-To: <200610101200.36417.rob@landley.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Rob Landley Cc: qemu-devel@nongnu.org Rob Landley wrote: > Because the way -kernel works is to create a fake bootsector internally, > present it to the bios as the start of hda, and tell the bios to boot from > that. If you haven't got an hda, it gets confused. (It probably shouldn't, > since it's not actually _using_ it, but it does.) > > Note that if you mmap /dev/zero it counts as an anonymous mapping, so feeding > in /dev/zero for hda works just fine here. Thank you, that works. And it's always good to know how it works. Regards Markus