Revision d0309311 vl.c
b/vl.c | ||
---|---|---|
3461 | 3461 |
help(); |
3462 | 3462 |
|
3463 | 3463 |
/* boot to cd by default if no hard disk */ |
3464 |
if (hd_filename[0] == '\0' && boot_device == 'c') |
|
3465 |
boot_device = 'd'; |
|
3464 |
if (hd_filename[0] == '\0' && boot_device == 'c') { |
|
3465 |
if (fd_filename[0] != '\0') |
|
3466 |
boot_device = 'a'; |
|
3467 |
else |
|
3468 |
boot_device = 'd'; |
|
3469 |
} |
|
3466 | 3470 |
|
3467 | 3471 |
#if !defined(CONFIG_SOFTMMU) |
3468 | 3472 |
/* must avoid mmap() usage of glibc by setting a buffer "by hand" */ |
Also available in: Unified diff