VirtualBox

Changeset 76810 in vbox


Ignore:
Timestamp:
Jan 14, 2019 11:48:22 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Host GDTR, IDTR limits are restored as 0xffff not 0xfff on VM-exits. Fix typo.

File:
1 edited

Legend:

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

    r76800 r76810  
    22492249    Assert(X86_IS_CANONICAL(pVmcs->u64HostGdtrBase.u));
    22502250    pVCpu->cpum.GstCtx.gdtr.pGdt  = pVmcs->u64HostGdtrBase.u;
    2251     pVCpu->cpum.GstCtx.gdtr.cbGdt = 0xfff;
     2251    pVCpu->cpum.GstCtx.gdtr.cbGdt = 0xffff;
    22522252
    22532253    /* IDTR.*/
    22542254    Assert(X86_IS_CANONICAL(pVmcs->u64HostIdtrBase.u));
    22552255    pVCpu->cpum.GstCtx.idtr.pIdt  = pVmcs->u64HostIdtrBase.u;
    2256     pVCpu->cpum.GstCtx.idtr.cbIdt = 0xfff;
     2256    pVCpu->cpum.GstCtx.idtr.cbIdt = 0xffff;
    22572257}
    22582258
     
    71307130                                    | RT_BF_MAKE(VMX_BF_ENTRY_INT_INFO_VALID, 1);
    71317131        return HMVmxEntryIntInfoInjectTrpmEvent(pVCpu, uDbgXcptInfo, 0 /* uErrCode */, pVmcs->u32EntryInstrLen,
    7132                                                   0 /* GCPtrFaultAddress */);
     7132                                                0 /* GCPtrFaultAddress */);
    71337133    }
    71347134
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