]> git.proxmox.com Git - qemu.git/commitdiff
Don't require a disk image for network boot, by Ferenc Wagner.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 19 Feb 2007 01:10:26 +0000 (01:10 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 19 Feb 2007 01:10:26 +0000 (01:10 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2437 c046a42c-6fe2-441c-8c8c-71466251a162

vl.c

diff --git a/vl.c b/vl.c
index 3dfa23c6f014f00a0f54714a70d254ca9b162ae8..28d8eb34db99c273ee2923ffa90ae61b5c1b7f00 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -7354,6 +7354,7 @@ int main(int argc, char **argv)
     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')