VirtualBox

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


Ignore:
Timestamp:
Aug 20, 2010 1:06:33 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
65018
Message:

added HWVirtEx force property to API

File:
1 edited

Legend:

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

    r31742 r31818  
    15341534          fLargePages(false),
    15351535          fVPID(true),
     1536          fHardwareVirtForce(false),
    15361537          fSyntheticCpu(false),
    15371538          fPAE(false),
     
    15801581                  && (fLargePages               == h.fLargePages)
    15811582                  && (fVPID                     == h.fVPID)
     1583                  && (fHardwareVirtForce        == h.fHardwareVirtForce)
    15821584                  && (fSyntheticCpu             == h.fSyntheticCpu)
    15831585                  && (fPAE                      == h.fPAE)
     
    22652267            if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtExVPID")))
    22662268                pelmCPUChild->getAttributeValue("enabled", hw.fVPID);
     2269            if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtForce")))
     2270                pelmCPUChild->getAttributeValue("enabled", hw.fHardwareVirtForce);           
    22672271
    22682272            if (!(pelmCPUChild = pelmHwChild->findChildElement("PAE")))
     
    31773181    if (hw.fLargePages)
    31783182        pelmCPU->createChild("HardwareVirtExLargePages")->setAttribute("enabled", hw.fLargePages);
     3183   
     3184    if (m->sv >= SettingsVersion_v1_9)
     3185        pelmCPU->createChild("HardwareVirtForce")->setAttribute("enabled", hw.fHardwareVirtForce);   
    31793186
    31803187    if (m->sv >= SettingsVersion_v1_10)
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