Skip to contentSkip to conversation

don't require a disk image for network boot

Qemu-devel Ferenc Wagner 1 participant 1 message Feb 8, 2007

lore
Share & tools
lore
#0 lore raw

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)

vl.c 2007-02-08 17:54:00.723622909 +0100 renamed from vl.c 2007-02-06 00:01:54.000000000 +0100 +1 -0
diff -Nru qemu-0.9.0/vl.c qemu/vl.c
@@ -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')