Changeset 25389 in vbox
- Timestamp:
- Dec 15, 2009 10:55:31 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r25386 r25389 1558 1558 } 1559 1559 /* Note: protected mode & paging are always enabled; we use them for emulating real and protected mode without paging too. */ 1560 val |= X86_CR0_PE | X86_CR0_PG; 1560 if (!pVM->hwaccm.s.vmx.fUnrestrictedGuest) 1561 val |= X86_CR0_PE | X86_CR0_PG; 1562 1561 1563 if (pVM->hwaccm.s.fNestedPaging) 1562 1564 { … … 1643 1645 } 1644 1646 else 1645 if (!CPUMIsGuestInPagedProtectedModeEx(pCtx)) 1647 if ( !CPUMIsGuestInPagedProtectedModeEx(pCtx) 1648 && !pVM->hwaccm.s.vmx.fUnrestrictedGuest) 1646 1649 { 1647 1650 /* We use 4 MB pages in our identity mapping page table for real and protected mode without paging. */ … … 1691 1694 AssertRC(rc); 1692 1695 1693 if (!CPUMIsGuestInPagedProtectedModeEx(pCtx)) 1696 if ( !CPUMIsGuestInPagedProtectedModeEx(pCtx) 1697 && !pVM->hwaccm.s.vmx.fUnrestrictedGuest) 1694 1698 { 1695 1699 RTGCPHYS GCPhys;
Note:
See TracChangeset
for help on using the changeset viewer.