VirtualBox

Changeset 11767

Show
Ignore:
Timestamp:
08/28/08 17:10:46 (3 months ago)
Author:
vboxsync
Message:

VT-x: always enable caching in cr0.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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); 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy