提交 d84fe7ae 编写于 作者: T ths

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
上级 292eef5a
...@@ -7354,6 +7354,7 @@ int main(int argc, char **argv) ...@@ -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')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册