VirtualBox

Changeset 11767 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Aug 28, 2008 3:10:46 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35545
Message:

VT-x: always enable caching in cr0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r11763 r11767  
    878878        /* Note: We must also set this as we rely on protecting various pages for which supervisor writes must be caught. */
    879879        val |= X86_CR0_WP;
     880
     881        /* Always enable caching. */
     882        val &= ~(X86_CR0_CD|X86_CR0_NW);
    880883
    881884        rc |= VMXWriteVMCS(VMX_VMCS_GUEST_CR0,              val);
Note: See TracChangeset for help on using the changeset viewer.

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