qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] don't require a disk image for network boot


From: Stuart Brady
Subject: Re: [Qemu-devel] [PATCH] don't require a disk image for network boot
Date: Tue, 13 Feb 2007 15:08:55 +0000
User-agent: Mutt/1.5.9i

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')




reply via email to

[Prev in Thread] Current Thread [Next in Thread]