VirtualBox

Changeset 9027 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 21, 2008 3:38:08 PM (17 years ago)
Author:
vboxsync
Message:

We can enable nested paging now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r9026 r9027  
    491491            pVM->hwaccm.s.fInitialized = true;
    492492
     493#ifdef VBOX_WITH_NESTED_PAGING
     494            if (pVM->hwaccm.s.svm.u32Features & AMD_CPUID_SVM_FEATURE_EDX_NESTED_PAGING)
     495                pVM->hwaccm.s.fNestedPaging = true;
     496#endif
     497
    493498            rc = SUPCallVMMR0Ex(pVM->pVMR0, VMMR0_DO_HWACC_SETUP_VM, 0, NULL);
    494499            AssertRC(rc);
     
    497502                hwaccmr3DisableRawMode(pVM);
    498503                CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_SEP);
    499 #if 0 /* not yet */
    500                 CPUMSetGuestCpuIdFeature(pVM, CPUMCPUIDFEATURE_PAE);
    501 #endif
    502504
    503505                pVM->fHWACCMEnabled = true;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette