VirtualBox

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


Ignore:
Timestamp:
Oct 11, 2013 3:51:50 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89856
Message:

Main: Added a TripleFaultReset switch.

File:
1 edited

Legend:

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

    r49028 r49058  
    18851885          fPAE(false),
    18861886          enmLongMode(HC_ARCH_BITS == 64 ? Hardware::LongMode_Enabled : Hardware::LongMode_Disabled),
     1887          fTripleFaultReset(false),
    18871888          cCPUs(1),
    18881889          fCpuHotPlug(false),
     
    19551956                  && (fPAE                      == h.fPAE)
    19561957                  && (enmLongMode               == h.enmLongMode)
     1958                  && (fTripleFaultReset         == h.fTripleFaultReset)
    19571959                  && (cCPUs                     == h.cCPUs)
    19581960                  && (fCpuHotPlug               == h.fCpuHotPlug)
     
    27122714            if ((pelmCPUChild = pelmHwChild->findChildElement("SyntheticCpu")))
    27132715                pelmCPUChild->getAttributeValue("enabled", hw.fSyntheticCpu);
     2716
     2717            if ((pelmCPUChild = pelmHwChild->findChildElement("TripleFaultReset")))
     2718                pelmCPUChild->getAttributeValue("enabled", hw.fTripleFaultReset);
     2719
    27142720            if ((pelmCPUChild = pelmHwChild->findChildElement("CpuIdTree")))
    27152721                readCpuIdTree(*pelmCPUChild, hw.llCpuIdLeafs);
     
    39573963    if (hw.fSyntheticCpu)
    39583964        pelmCPU->createChild("SyntheticCpu")->setAttribute("enabled", hw.fSyntheticCpu);
     3965    if (hw.fTripleFaultReset)
     3966        pelmCPU->createChild("TripleFaultReset")->setAttribute("enabled", hw.fTripleFaultReset);
    39593967    pelmCPU->setAttribute("count", hw.cCPUs);
    39603968    if (hw.ulCpuExecutionCap != 100)
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