VirtualBox

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


Ignore:
Timestamp:
Jul 19, 2013 1:04:47 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Minor clarification.

File:
1 edited

Legend:

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

    r47247 r47254  
    54355435     * bird: This isn't quite as simple.  VT-x and VBox(!) requires the DPL for SS to be the the same as CPL.  In 64-bit mode it
    54365436     *       is possible (int/trap/xxx injects does this when switching rings) to load SS with a NULL selector and RPL=CPL.
    5437      *       The Attr.u = X86DESCATTR_UNUSABLE works fine as long as nobody uses ring-1 or ring-2.  VT-x seems to set the DPL
    5438      *       correctly in the attributes even when the unusable bit is set, we need to preseve the DPL or we get invalid guest
    5439      *       state trouble.  Try bs2-cpu-hidden-regs-1.
     5437     *       The Attr.u = X86DESCATTR_UNUSABLE works fine as long as nobody uses ring-1 or ring-2.  VT-x updates the DPL
     5438     *       correctly in the attributes of SS even when the unusable bit is set, we need to preseve the DPL or we get invalid
     5439     *       guest state trouble.  Try bs2-cpu-hidden-regs-1.
    54405440     */
    54415441    if (pSelReg->Attr.u & X86DESCATTR_UNUSABLE)
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