VirtualBox

Changeset 61053 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 19, 2016 4:26:50 PM (9 years ago)
Author:
vboxsync
Message:

Main/Console: move APIC CPU feature configuration to the right place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r61042 r61053  
    10311031            fEnableX2APIC = false;
    10321032        }
    1033 
    1034         /* /APIC/xzy */
    1035         PCFGMNODE pAPIC;
    1036         InsertConfigNode(pRoot, "APIC", &pAPIC);
    1037         uint32_t uAPICMode = 1;
    1038         if (fEnableX2APIC)
    1039             uAPICMode = 2;
    1040         else if (!fEnableAPIC)
    1041             uAPICMode = 0;
    1042         InsertConfigInteger(pAPIC, "Mode", uAPICMode);
    10431033
    10441034        /*
     
    15971587            InsertConfigNode(pInst,    "Config", &pCfg);
    15981588            InsertConfigInteger(pCfg,  "IOAPIC", fIOAPIC);
     1589            uint32_t uAPICMode = 2;
     1590            if (fEnableX2APIC)
     1591                uAPICMode = 3;
     1592            else if (!fEnableAPIC)
     1593                uAPICMode = 0;
     1594            InsertConfigInteger(pCfg,  "Mode", uAPICMode);
    15991595            InsertConfigInteger(pCfg,  "NumCPUs", cCpus);
    16001596
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