VirtualBox

Changeset 80489 in vbox


Ignore:
Timestamp:
Aug 29, 2019 7:53:55 AM (5 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 Fix zero-ing out incorrectly the exit int. info and IDT info for NMI VM-exits.

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r80466 r80489  
    1577315773    Assert(pExitInfo);
    1577415774    Assert(pExitEventInfo);
    15775     Assert(pExitInfo->uReason == VMX_EXIT_XCPT_OR_NMI);
    1577615775    VBOXSTRICTRC rcStrict = iemVmxVmexitEventWithInfo(pVCpu, pExitInfo, pExitEventInfo);
    1577715776    Assert(!pVCpu->iem.s.cActiveMappings);
     
    1579115790    VMXVEXITINFO ExitInfo;
    1579215791    RT_ZERO(ExitInfo);
     15792    ExitInfo.uReason = VMX_EXIT_XCPT_OR_NMI;
     15793
    1579315794    VMXVEXITEVENTINFO ExitEventInfo;
    15794     RT_ZERO(ExitInfo);
     15795    RT_ZERO(ExitEventInfo);
    1579515796    ExitEventInfo.uExitIntInfo = RT_BF_MAKE(VMX_BF_EXIT_INT_INFO_VALID,  1)
    1579615797                               | RT_BF_MAKE(VMX_BF_EXIT_INT_INFO_TYPE,   VMX_EXIT_INT_INFO_TYPE_NMI)
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h

    r80387 r80489  
    36053605    Assert(pExitInfo);
    36063606    Assert(pExitEventInfo);
     3607    Assert(pExitInfo->uReason == VMX_EXIT_XCPT_OR_NMI);
    36073608    Assert(VMX_EXIT_INT_INFO_IS_VALID(pExitEventInfo->uExitIntInfo));
    36083609
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