Changeset 72332 in vbox for trunk/src/VBox/Main/xml
- Timestamp:
- May 24, 2018 8:51:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/xml/Settings.cpp
r71179 r72332 2774 2774 fUnrestrictedExecution(true), 2775 2775 fHardwareVirtForce(false), 2776 fUseNativeApi(false), 2776 2777 fTripleFaultReset(false), 2777 2778 fPAE(false), … … 2931 2932 && fUnrestrictedExecution == h.fUnrestrictedExecution 2932 2933 && fHardwareVirtForce == h.fHardwareVirtForce 2934 && fUseNativeApi == h.fUseNativeApi 2933 2935 && fPAE == h.fPAE 2934 2936 && enmLongMode == h.enmLongMode … … 3908 3910 if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtForce"))) 3909 3911 pelmCPUChild->getAttributeValue("enabled", hw.fHardwareVirtForce); 3912 if ((pelmCPUChild = pelmHwChild->findChildElement("HardwareVirtExUseNativeApi"))) 3913 pelmCPUChild->getAttributeValue("enabled", hw.fUseNativeApi); 3910 3914 3911 3915 if (!(pelmCPUChild = pelmHwChild->findChildElement("PAE"))) … … 5333 5337 pelmCPU->createChild("HardwareVirtForce")->setAttribute("enabled", hw.fHardwareVirtForce); 5334 5338 } 5339 5340 if (m->sv >= SettingsVersion_v1_9 && hw.fUseNativeApi) 5341 pelmCPU->createChild("HardwareVirtExUseNativeApi")->setAttribute("enabled", hw.fUseNativeApi); 5335 5342 5336 5343 if (m->sv >= SettingsVersion_v1_10) … … 6964 6971 if (m->sv < SettingsVersion_v1_17) 6965 6972 { 6966 // VirtualBox 6.0 adds nested hardware virtualization. 6967 if (hardwareMachine.fNestedHWVirt) 6973 // VirtualBox 6.0 adds nested hardware virtualization, using native API (NEM). 6974 if ( hardwareMachine.fNestedHWVirt 6975 || hardwareMachine.fUseNativeApi) 6968 6976 { 6969 6977 m->sv = SettingsVersion_v1_17;
Note:
See TracChangeset
for help on using the changeset viewer.