Changeset 5172 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 5, 2007 5:20:40 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25074
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r5150 r5172 323 323 " [-biosbootmenu disabled|menuonly|messageandmenu]\n" 324 324 " [-biossystemtimeoffset <msec>]\n" 325 " [-biospxedebug on|off]\n" 325 326 " [-boot<1-4> none|floppy|dvd|disk|net>]\n" 326 327 " [-hd<a|b|d> none|<uuid>|<filename>]\n" … … 3532 3533 char *biosbootmenumode = NULL; 3533 3534 char *biossystemtimeoffset = NULL; 3535 char *biospxedebug = NULL; 3534 3536 DeviceType_T bootDevice[4]; 3535 3537 int bootDeviceChanged[4] = { false }; … … 3718 3720 biossystemtimeoffset = argv[i]; 3719 3721 } 3722 else if (strcmp(argv[i], "-biospxedebug") == 0) 3723 { 3724 if (argc <= i + 1) 3725 { 3726 return errorArgument("Missing argument to '%s'", argv[i]); 3727 } 3728 i++; 3729 biospxedebug = argv[i]; 3730 } 3720 3731 else if (strncmp(argv[i], "-boot", 5) == 0) 3721 3732 { … … 4304 4315 LONG64 timeOffset = RTStrToInt64(biossystemtimeoffset); 4305 4316 CHECK_ERROR(biosSettings, COMSETTER(TimeOffset)(timeOffset)); 4317 } 4318 if (biospxedebug) 4319 { 4320 if (strcmp(biospxedebug, "on") == 0) 4321 { 4322 CHECK_ERROR(biosSettings, COMSETTER(PXEDebugEnabled)(true)); 4323 } 4324 else if (strcmp(biospxedebug, "off") == 0) 4325 { 4326 CHECK_ERROR(biosSettings, COMSETTER(PXEDebugEnabled)(false)); 4327 } 4328 else 4329 { 4330 errorArgument("Invalid -biospxedebug argument '%s'", biospxedebug); 4331 rc = E_FAIL; 4332 break; 4333 } 4306 4334 } 4307 4335 for (int curBootDev = 0; curBootDev < 4; curBootDev++)
Note:
See TracChangeset
for help on using the changeset viewer.