]> git.proxmox.com Git - qemu.git/commitdiff
Fall back to network boot as the last possible boot option
authorAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 14:35:38 +0000 (09:35 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 30 Oct 2009 14:42:36 +0000 (09:42 -0500)
This is similiar to the default with most bare metal systems.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c

diff --git a/vl.c b/vl.c
index e57f58fea0df3ab4ade42fce4cf86d9d2a60a1e2..3057f9d2f4b0749a66d42f266f2bd5fc00ff6231 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -4572,7 +4572,7 @@ int main(int argc, char **argv, char **envp)
     int snapshot, linux_boot, net_boot;
     const char *initrd_filename;
     const char *kernel_filename, *kernel_cmdline;
-    char boot_devices[33] = "cad"; /* default to HD->floppy->CD-ROM */
+    char boot_devices[33] = "cadn"; /* default to HD->floppy->CD-ROM->Network */
     DisplayState *ds;
     DisplayChangeListener *dcl;
     int cyls, heads, secs, translation;