VirtualBox

Changeset 11763

Show
Ignore:
Timestamp:
08/28/08 16:27:11 (3 months ago)
Author:
vboxsync
Message:

Host CR0 CD, NW & ET bits are not restored after a VM exit. We must not allow the guest to change them.

Files:

Legend:

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

    r11761 r11763  
    888888              | X86_CR0_PG  /* Must monitor this bit (assumptions are made for real mode & protected mode without paging emulation) */ 
    889889              | X86_CR0_TS 
    890               | X86_CR0_ET 
    891               | X86_CR0_CD  /* Cache disable must not be changed! */ 
     890              | X86_CR0_ET  /* Bit not restored during VM-exit! */ 
     891              | X86_CR0_CD  /* Bit not restored during VM-exit! */ 
     892              | X86_CR0_NW  /* Bit not restored during VM-exit! */ 
    892893              | X86_CR0_NE 
    893894              | X86_CR0_MP; 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy