Changeset 10703 in vbox
- Timestamp:
- Jul 16, 2008 2:23:20 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/HWACCM.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r10695 r10703 186 186 pVM->fHWACCMEnabled = false; 187 187 188 /* Check CFGM options. */ 189 rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnableNestedPaging", &pVM->hwaccm.s.fAllowNestedPaging); 190 if (VBOX_FAILURE(rc)) 191 pVM->hwaccm.s.fAllowNestedPaging = true; /* enabled by default now. */ 188 /* 189 * Check CFGM options. 190 */ 191 /* Nested paging: enabled by default now */ 192 rc = CFGMR3QueryBoolDef(CFGMR3GetRoot(pVM), "EnableNestedPaging", &pVM->hwaccm.s.fAllowNestedPaging, true); 193 AssertRC(rc); 192 194 193 195 /* HWACCM support must be explicitely enabled in the configuration file. */ 194 pVM->hwaccm.s.fAllowed = false;195 CFGMR3QueryBool(CFGMR3GetChild(CFGMR3GetRoot(pVM), "HWVirtExt/"), "Enabled", &pVM->hwaccm.s.fAllowed);196 rc = CFGMR3QueryBoolDef(CFGMR3GetChild(CFGMR3GetRoot(pVM), "HWVirtExt/"), "Enabled", &pVM->hwaccm.s.fAllowed, false); 197 AssertRC(rc); 196 198 197 199 return VINF_SUCCESS; … … 654 656 655 657 /* The guest is about to complete the switch to protected mode. Wait a bit longer. */ 656 /* Windows XP; switch to protected mode; all selectors are marked not present in the 658 /* Windows XP; switch to protected mode; all selectors are marked not present in the 657 659 * hidden registers (possible recompiler bug) */ 658 660 if (pCtx->csHid.Attr.n.u1Present == 0)
Note:
See TracChangeset
for help on using the changeset viewer.

