VirtualBox

Ignore:
Timestamp:
Apr 15, 2008 1:30:41 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
29642
Message:

Backed out 29633 & 29635 again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r7988 r7989  
    326326                 "                            [-acpi on|off]\n"
    327327                 "                            [-ioapic on|off]\n"
    328                  "                            [-pae on|off]\n"
    329328                 "                            [-hwvirtex on|off|default]\n"
    330329                 "                            [-monitorcount <number>]\n"
     
    920919    else
    921920        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");
    929921
    930922    LONG64 timeOffset;
     
    37223714    char *acpi = NULL;
    37233715    char *hwvirtex = NULL;
    3724     char *pae = NULL;
    37253716    char *ioapic = NULL;
    37263717    int monitorcount = -1;
     
    38593850            hwvirtex = argv[i];
    38603851        }
    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         }
    38703852        else if (strcmp(argv[i], "-monitorcount") == 0)
    38713853        {
     
    45514533            {
    45524534                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);
    45704535                rc = E_FAIL;
    45714536                break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette