Fall back to network boot as the last possible boot option

This is similiar to the default with most bare metal systems.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Anthony Liguori 2009-10-30 09:35:38 -05:00
parent 04095e5ff3
commit 94ca5a9859

2
vl.c
View file

@ -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;