VirtualBox

Changeset 11763 in vbox


Ignore:
Timestamp:
Aug 28, 2008 2:27:11 PM (16 years 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
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