Changeset 23179 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Sep 21, 2009 11:23:12 AM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp
r23129 r23179 128 128 " [--memory <memorysize in MB>]\n" 129 129 " [--vram <vramsize in MB>]\n" 130 " [--firmware bios|efi]\n" 130 131 " [--acpi on|off]\n" 131 132 " [--ioapic on|off]\n" -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp
r22866 r23179 90 90 char *audiocontroller = NULL; 91 91 char *clipboard = NULL; 92 char *firmware = NULL; 92 93 #ifdef VBOX_WITH_VRDP 93 94 char *vrdp = NULL; … … 260 261 } 261 262 #endif 263 else if ( !strcmp(a->argv[i], "--firmware") 264 || !strcmp(a->argv[i], "-firmware")) 265 { 266 if (a->argc <= i + 1) 267 return errorArgument("Missing argument to '%s'", a->argv[i]); 268 i++; 269 firmware = a->argv[i]; 270 } 262 271 else if ( !strcmp(a->argv[i], "--bioslogofadein") 263 272 || !strcmp(a->argv[i], "-bioslogofadein")) … … 1059 1068 } 1060 1069 #endif 1070 if (firmware) 1071 { 1072 if (!strcmp(firmware, "efi")) 1073 { 1074 CHECK_ERROR(machine, COMSETTER(FirmwareType)(FirmwareType_Efi)); 1075 } 1076 else if (!strcmp(accelerate3d, "bios")) 1077 { 1078 CHECK_ERROR(machine, COMSETTER(FirmwareType)(FirmwareType_Bios)); 1079 } 1080 else 1081 { 1082 errorArgument("Invalid --firmware argument '%s'", firmware); 1083 rc = E_FAIL; 1084 break; 1085 } 1086 } 1061 1087 if (bioslogofadein) 1062 1088 {
Note:
See TracChangeset
for help on using the changeset viewer.