Changeset 7988 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Apr 15, 2008 1:29:51 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29641
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r7987 r7988 326 326 " [-acpi on|off]\n" 327 327 " [-ioapic on|off]\n" 328 " [-pae on|off]\n" 328 329 " [-hwvirtex on|off|default]\n" 329 330 " [-monitorcount <number>]\n" … … 919 920 else 920 921 RTPrintf("IOAPIC: %s\n", ioapicEnabled ? "on" : "off"); 922 923 BOOL PAEEnabled; 924 machine->COMGETTER(PAEEnabled)(&PAEEnabled); 925 if (details == VMINFO_MACHINEREADABLE) 926 RTPrintf("pae=\"%s\"\n", PAEEnabled ? "on" : "off"); 927 else 928 RTPrintf("PAE: %s\n", PAEEnabled ? "on" : "off"); 921 929 922 930 LONG64 timeOffset; … … 3714 3722 char *acpi = NULL; 3715 3723 char *hwvirtex = NULL; 3724 char *pae = NULL; 3716 3725 char *ioapic = NULL; 3717 3726 int monitorcount = -1; … … 3850 3859 hwvirtex = argv[i]; 3851 3860 } 3861 else if (strcmp(argv[i], "-pae") == 0) 3862 { 3863 if (argc <= i + 1) 3864 { 3865 return errorArgument("Missing argument to '%s'", argv[i]); 3866 } 3867 i++; 3868 pae = argv[i]; 3869 } 3852 3870 else if (strcmp(argv[i], "-monitorcount") == 0) 3853 3871 { … … 4533 4551 { 4534 4552 errorArgument("Invalid -hwvirtex argument '%s'", hwvirtex); 4553 rc = E_FAIL; 4554 break; 4555 } 4556 } 4557 if (pae) 4558 { 4559 if (strcmp(pae, "on") == 0) 4560 { 4561 CHECK_ERROR(machine, COMSETTER(PAEEnabled)(true)); 4562 } 4563 else if (strcmp(pae, "off") == 0) 4564 { 4565 CHECK_ERROR(machine, COMSETTER(PAEEnabled)(false)); 4566 } 4567 else 4568 { 4569 errorArgument("Invalid -pae argument '%s'", ioapic); 4535 4570 rc = E_FAIL; 4536 4571 break;
Note:
See TracChangeset
for help on using the changeset viewer.