Don't require a disk image for network boot, by Ferenc Wagner.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2437 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
ths 2007-02-19 01:10:26 +00:00
parent 292eef5acb
commit d84fe7aef0

1
vl.c
View File

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