Changeset 10691 in vbox
- Timestamp:
- Jul 16, 2008 11:06:20 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r10586 r10691 93 93 if (VBOX_FAILURE(rc)) 94 94 return rc; 95 96 /* Check CFGM option. */ 97 rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "EnableNestedPaging", &pVM->hwaccm.s.fAllowNestedPaging); 98 if (VBOX_FAILURE(rc)) 99 pVM->hwaccm.s.fAllowNestedPaging = true; /* enabled by default now. */ 95 100 96 101 /* Misc initialisation. */ … … 504 509 pVM->hwaccm.s.fInitialized = true; 505 510 506 #ifdef VBOX_WITH_NESTED_PAGING507 511 if (pVM->hwaccm.s.svm.u32Features & AMD_CPUID_SVM_FEATURE_EDX_NESTED_PAGING) 508 pVM->hwaccm.s.fNestedPaging = true; 509 #endif 512 pVM->hwaccm.s.fNestedPaging = pVM->hwaccm.s.fAllowNestedPaging; 510 513 511 514 rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL); -
trunk/src/VBox/VMM/HWACCMInternal.h
r10537 r10691 34 34 #include <iprt/mp.h> 35 35 36 /* Uncomment to enable experimental nested paging. */37 /////#define VBOX_WITH_NESTED_PAGING38 36 #if HC_ARCH_BITS == 64 39 37 /* Enable 64 bits guest support. */ … … 177 175 /** Set if nested paging is enabled. */ 178 176 bool fNestedPaging; 177 178 /** Set if nested paging is allowed. */ 179 bool fAllowNestedPaging; 179 180 180 181 /** HWACCM_CHANGED_* flags. */
Note:
See TracChangeset
for help on using the changeset viewer.