VirtualBox

Changeset 45971 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
May 9, 2013 7:46:52 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85623
Message:

Main, VMM: Added an API seting to disable VT-x unrestricted execution.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r45926 r45971  
    17331733          fNestedPaging(true),
    17341734          fVPID(true),
     1735          fUnrestrictedExecution(true),
    17351736          fHardwareVirtForce(false),
    17361737          fSyntheticCpu(false),
     
    18031804                  && (fLargePages               == h.fLargePages)
    18041805                  && (fVPID                     == h.fVPID)
     1806                  && (fUnrestrictedExecution    == h.fUnrestrictedExecution)
    18051807                  && (fHardwareVirtForce        == h.fHardwareVirtForce)
    18061808                  && (fSyntheticCpu             == h.fSyntheticCpu)
     
    25352537            if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtExVPID")))
    25362538                pelmCPUChild->getAttributeValue("enabled", hw.fVPID);
     2539            if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtExUX")))
     2540                pelmCPUChild->getAttributeValue("enabled", hw.fUnrestrictedExecution);
    25372541            if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtForce")))
    25382542                pelmCPUChild->getAttributeValue("enabled", hw.fHardwareVirtForce);
     
    37333737    pelmCPU->createChild("HardwareVirtExNestedPaging")->setAttribute("enabled", hw.fNestedPaging);
    37343738    pelmCPU->createChild("HardwareVirtExVPID")->setAttribute("enabled", hw.fVPID);
     3739    pelmCPU->createChild("HardwareVirtExUX")->setAttribute("enabled", hw.fUnrestrictedExecution);
    37353740    pelmCPU->createChild("PAE")->setAttribute("enabled", hw.fPAE);
    37363741    if (m->sv >= SettingsVersion_v1_14 && hw.enmLongMode != Hardware::LongMode_Legacy)
Note: See TracChangeset for help on using the changeset viewer.

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