Changeset 7987 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 15, 2008 1:29:05 PM (17 years ago)
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r7982 r7987 326 326 " [-acpi on|off]\n" 327 327 " [-ioapic on|off]\n" 328 " [-pae on|off]\n"329 328 " [-hwvirtex on|off|default]\n" 330 329 " [-monitorcount <number>]\n" … … 920 919 else 921 920 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 else928 RTPrintf("PAE: %s\n", PAEEnabled ? "on" : "off");929 921 930 922 LONG64 timeOffset; … … 3722 3714 char *acpi = NULL; 3723 3715 char *hwvirtex = NULL; 3724 char *pae = NULL;3725 3716 char *ioapic = NULL; 3726 3717 int monitorcount = -1; … … 3859 3850 hwvirtex = argv[i]; 3860 3851 } 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 }3870 3852 else if (strcmp(argv[i], "-monitorcount") == 0) 3871 3853 { … … 4551 4533 { 4552 4534 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 else4568 {4569 errorArgument("Invalid -pae argument '%s'", ioapic);4570 4535 rc = E_FAIL; 4571 4536 break; -
trunk/src/VBox/Frontends/VirtualBox/src/HappyHttp.cpp
r6349 r7987 272 272 m_Sock(-1) 273 273 { 274 #ifdef RT_OS_WINDOWS275 WSADATA wsaData;276 277 int ret = WSAStartup(MAKEWORD(1,1), &wsaData);278 #endif279 274 } 280 275 -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r7342 r7987 168 168 * thread to several seconds). */ 169 169 PlaySound (NULL, NULL, 0); 170 171 /* Initialize windows sockets for the process */ 172 WSADATA wsaData; 173 int ret = WSAStartup(MAKEWORD(1,1), &wsaData); 170 174 #endif 171 175
Note:
See TracChangeset
for help on using the changeset viewer.