On Thursday 15 February 2007 11:27 am, Paul Brook wrote: > On Thursday 15 February 2007 09:17, Thomas Petazzoni wrote: > > Hi, > > > > Le Tue, 13 Feb 2007 15:58:13 +0100, > > > > "andrzej zaborowski" <[EMAIL PROTECTED]> a écrit : > > > 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=blabla", 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 > sector of the disk image with a dummy bootloader that jumps to the preloaded > kernel. It can only do that if there is an image to replace.
Yeah, but on Linux the standard workaround is to supply -hda /dev/zero, and if qemu notices that it has -kernel but no hda, from a UI perspective qemu could easily supply the standard workaround for itself... Rob -- "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away." - Antoine de Saint-Exupery _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel