/[qemu]/qemu/vl.c
ViewVC logotype

Diff of /qemu/vl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.122 by bellard, Tue Mar 1 21:37:28 2005 UTC revision 1.123 by bellard, Sun Mar 13 09:43:36 2005 UTC
# Line 2733  void help(void) Line 2733  void help(void)
2733             "-full-screen    start in full screen\n"             "-full-screen    start in full screen\n"
2734  #ifdef TARGET_PPC  #ifdef TARGET_PPC
2735             "-prep           Simulate a PREP system (default is PowerMAC)\n"             "-prep           Simulate a PREP system (default is PowerMAC)\n"
2736             "-g WxH[xDEPTH]  Set the initial VGA graphic mode\n"  #endif
2737    #if defined(TARGET_PPC) || defined(TARGET_SPARC)
2738               "-g WxH[xDEPTH]  Set the initial graphical resolution and depth\n"
2739  #endif  #endif
2740             "\n"             "\n"
2741             "Network options:\n"             "Network options:\n"
# Line 2916  const QEMUOption qemu_options[] = { Line 2918  const QEMUOption qemu_options[] = {
2918  #endif  #endif
2919  #ifdef TARGET_PPC  #ifdef TARGET_PPC
2920      { "prep", 0, QEMU_OPTION_prep },      { "prep", 0, QEMU_OPTION_prep },
2921    #endif
2922    #if defined(TARGET_PPC) || defined(TARGET_SPARC)
2923      { "g", 1, QEMU_OPTION_g },      { "g", 1, QEMU_OPTION_g },
2924  #endif  #endif
2925      { "localtime", 0, QEMU_OPTION_localtime },      { "localtime", 0, QEMU_OPTION_localtime },
# Line 3179  int main(int argc, char **argv) Line 3183  int main(int argc, char **argv)
3183              case QEMU_OPTION_boot:              case QEMU_OPTION_boot:
3184                  boot_device = optarg[0];                  boot_device = optarg[0];
3185                  if (boot_device != 'a' &&                  if (boot_device != 'a' &&
3186    #ifdef TARGET_SPARC
3187                        // Network boot
3188                        boot_device != 'n' &&
3189    #endif
3190                      boot_device != 'c' && boot_device != 'd') {                      boot_device != 'c' && boot_device != 'd') {
3191                      fprintf(stderr, "qemu: invalid boot device '%c'\n", boot_device);                      fprintf(stderr, "qemu: invalid boot device '%c'\n", boot_device);
3192                      exit(1);                      exit(1);

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26