Changeset 76678 in vbox for trunk/src/VBox/Main/xml/Settings.cpp
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo
-
old new 8 8 /branches/VBox-5.0:104445,104938,104943,104950,104952-104953,104987-104988,104990,106453 9 9 /branches/VBox-5.1:112367,115992,116543,116550,116568,116573 10 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,12 5768,125779-125780,12581210 /branches/VBox-5.2:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124260,124263,124271,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 11 /branches/andy/draganddrop:90781-91268 12 12 /branches/andy/guestctrl20:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox
- Property svn:mergeinfo
-
old new 8 8 /branches/VBox-5.0/src/VBox:104938,104943,104950,104987-104988,104990,106453 9 9 /branches/VBox-5.1/src/VBox:112367,116543,116550,116568,116573 10 /branches/VBox-5.2/src/VBox:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,12 5768,125779-125780,12581210 /branches/VBox-5.2/src/VBox:119536,120083,120099,120213,120221,120239,123597-123598,123600-123601,123755,124263,124273,124277-124279,124284-124286,124288-124290,125768,125779-125780,125812 11 11 /branches/andy/draganddrop/src/VBox:90781-91268 12 12 /branches/andy/guestctrl20/src/VBox:78916,78930
-
- Property svn:mergeinfo
-
trunk/src/VBox/Main/xml/Settings.cpp
r76598 r76678 3068 3068 fSpecCtrl(false), 3069 3069 fSpecCtrlByHost(false), 3070 fL1DFlushOnSched(true), 3071 fL1DFlushOnVMEntry(false), 3070 3072 fNestedHWVirt(false), 3071 3073 enmLongMode(HC_ARCH_BITS == 64 ? Hardware::LongMode_Enabled : Hardware::LongMode_Disabled), … … 3201 3203 && fSpecCtrl == h.fSpecCtrl 3202 3204 && fSpecCtrlByHost == h.fSpecCtrlByHost 3205 && fL1DFlushOnSched == h.fL1DFlushOnSched 3206 && fL1DFlushOnVMEntry == h.fL1DFlushOnVMEntry 3203 3207 && fNestedHWVirt == h.fNestedHWVirt 3204 3208 && cCPUs == h.cCPUs … … 4221 4225 if (pelmCPUChild) 4222 4226 pelmCPUChild->getAttributeValue("enabled", hw.fSpecCtrlByHost); 4227 pelmCPUChild = pelmHwChild->findChildElement("L1DFlushOn"); 4228 if (pelmCPUChild) 4229 { 4230 pelmCPUChild->getAttributeValue("scheduling", hw.fL1DFlushOnSched); 4231 pelmCPUChild->getAttributeValue("vmentry", hw.fL1DFlushOnVMEntry); 4232 } 4223 4233 pelmCPUChild = pelmHwChild->findChildElement("NestedHWVirt"); 4224 4234 if (pelmCPUChild) … … 5581 5591 pelmChild->setAttribute("vmentry", hw.fIBPBOnVMEntry); 5582 5592 } 5583 } 5584 if (m->sv >= SettingsVersion_v1_16 && hw.fSpecCtrl) 5585 pelmCPU->createChild("SpecCtrl")->setAttribute("enabled", hw.fSpecCtrl); 5586 if (m->sv >= SettingsVersion_v1_16 && hw.fSpecCtrlByHost) 5587 pelmCPU->createChild("SpecCtrlByHost")->setAttribute("enabled", hw.fSpecCtrlByHost); 5593 if (hw.fSpecCtrl) 5594 pelmCPU->createChild("SpecCtrl")->setAttribute("enabled", hw.fSpecCtrl); 5595 if (hw.fSpecCtrlByHost) 5596 pelmCPU->createChild("SpecCtrlByHost")->setAttribute("enabled", hw.fSpecCtrlByHost); 5597 if (!hw.fL1DFlushOnSched || hw.fL1DFlushOnVMEntry) 5598 { 5599 xml::ElementNode *pelmChild = pelmCPU->createChild("L1DFlushOn"); 5600 if (!hw.fL1DFlushOnSched) 5601 pelmChild->setAttribute("scheduling", hw.fL1DFlushOnSched); 5602 if (hw.fL1DFlushOnVMEntry) 5603 pelmChild->setAttribute("vmentry", hw.fL1DFlushOnVMEntry); 5604 } 5605 } 5588 5606 if (m->sv >= SettingsVersion_v1_17 && hw.fNestedHWVirt) 5589 5607 pelmCPU->createChild("NestedHWVirt")->setAttribute("enabled", hw.fNestedHWVirt); … … 7346 7364 || hardwareMachine.fIBPBOnVMEntry 7347 7365 || hardwareMachine.fSpecCtrl 7348 || hardwareMachine.fSpecCtrlByHost) 7366 || hardwareMachine.fSpecCtrlByHost 7367 || !hardwareMachine.fL1DFlushOnSched 7368 || hardwareMachine.fL1DFlushOnVMEntry) 7349 7369 { 7350 7370 m->sv = SettingsVersion_v1_16;
Note:
See TracChangeset
for help on using the changeset viewer.