From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HGzHM-00051c-Gh for qemu-devel@nongnu.org; Tue, 13 Feb 2007 10:09:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HGzHL-00050r-DB for qemu-devel@nongnu.org; Tue, 13 Feb 2007 10:09:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HGzHL-00050n-8k for qemu-devel@nongnu.org; Tue, 13 Feb 2007 10:09:11 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HGzHK-0002EM-PQ for qemu-devel@nongnu.org; Tue, 13 Feb 2007 10:09:11 -0500 Date: Tue, 13 Feb 2007 15:08:55 +0000 From: Stuart Brady Subject: Re: [Qemu-devel] [PATCH] don't require a disk image for network boot Message-ID: <20070213150855.GA8350@miranda.arrow> References: <87bqjyxg10.fsf@tac.ki.iif.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Cc: Ferenc Wagner On Tue, Feb 13, 2007 at 03:58:13PM +0100, andrzej zaborowski wrote: > 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... :) As requested, here's the diff with the correct formatting: 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')