summaryrefslogtreecommitdiffstats
path: root/vl.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-19 01:10:26 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-19 01:10:26 +0000
commitd84fe7aef05a84349803ee49b07b002acee1f6e3 (patch)
treedac8e12075bdb1ef94731b1d1e0e2084a752ab50 /vl.c
parent292eef5acb679a65c5f0fbdee65fb372263d50da (diff)
downloadhqemu-d84fe7aef05a84349803ee49b07b002acee1f6e3.zip
hqemu-d84fe7aef05a84349803ee49b07b002acee1f6e3.tar.gz
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
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 3dfa23c..28d8eb3 100644
--- 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')
OpenPOWER on IntegriCloud