VirtualBox

Changeset 77408 in vbox


Ignore:
Timestamp:
Feb 21, 2019 10:04:07 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Fix typo while checking validity of guest SS segment register during VM-entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r77406 r77408  
    54275427
    54285428            /* DPL. */
    5429             if (fUnrestrictedGuest)
     5429            if (!fUnrestrictedGuest)
    54305430            {
    54315431                if (uDpl == (SelReg.Sel & X86_SEL_RPL))
     
    54365436            X86DESCATTR AttrCs; AttrCs.u = pVmcs->u32GuestCsAttr;
    54375437            if (   AttrCs.n.u4Type == (X86_SEL_TYPE_RW | X86_SEL_TYPE_ACCESSED)
    5438                 || (pVmcs->u64GuestCr0.u & X86_CR0_PE))
     5438                || !(pVmcs->u64GuestCr0.u & X86_CR0_PE))
    54395439            {
    54405440                if (uDpl == 0)
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