From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HFCfu-0000bg-DE for qemu-devel@nongnu.org; Thu, 08 Feb 2007 12:03:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HFCft-0000bJ-Qn for qemu-devel@nongnu.org; Thu, 08 Feb 2007 12:03:10 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HFCft-0000bD-Eg for qemu-devel@nongnu.org; Thu, 08 Feb 2007 12:03:09 -0500 Received: from tac.ki.iif.hu ([193.6.222.43]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HFCfs-0002lY-Rz for qemu-devel@nongnu.org; Thu, 08 Feb 2007 12:03:09 -0500 Received: from wferi by tac.ki.iif.hu with local (Exim 4.50) id 1HFCf9-0005zh-Et for qemu-devel@nongnu.org; Thu, 08 Feb 2007 18:02:23 +0100 From: Ferenc Wagner Message-ID: <87veicoa5c.fsf@tac.ki.iif.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] don't require a disk image for network boot Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Thu, 08 Feb 2007 17:03:10 -0000 To: qemu-devel@nongnu.org Hi, What do you think about the following patch? As a side note, I'd really prefer option roms with serial output enabled (check CONSOLE_DUAL on rom-o-matic). Maybe even uncheck ASK_BOOT... Hmm, maybe that's already done, I couldn't see... :) Anyway, thanks for the nice work! Regards, Feri. (please Cc: me, I'm not subscribed) diff -Nru qemu-0.9.0/vl.c qemu/vl.c --- qemu-0.9.0/vl.c 2007-02-06 00:01:54.000000000 +0100 +++ qemu/vl.c 2007-02-08 17:54:00.723622909 +0100 @@ -7017,6 +7017,7 @@ linux_boot = (kernel_filename != NULL); if (!linux_boot && + boot_device != 'n' && hd_filename[0] == '\0' && (cdrom_index >= 0 && hd_filename[cdrom_index] == '\0') && fd_filename[0] == '\0')