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:
parent
292eef5acb
commit
d84fe7aef0
1
vl.c
1
vl.c
@ -7354,6 +7354,7 @@ int main(int argc, char **argv)
|
|||||||
linux_boot = (kernel_filename != NULL);
|
linux_boot = (kernel_filename != NULL);
|
||||||
|
|
||||||
if (!linux_boot &&
|
if (!linux_boot &&
|
||||||
|
boot_device != 'n' &&
|
||||||
hd_filename[0] == '\0' &&
|
hd_filename[0] == '\0' &&
|
||||||
(cdrom_index >= 0 && hd_filename[cdrom_index] == '\0') &&
|
(cdrom_index >= 0 && hd_filename[cdrom_index] == '\0') &&
|
||||||
fd_filename[0] == '\0')
|
fd_filename[0] == '\0')
|
||||||
|
Loading…
Reference in New Issue
Block a user