VirtualBox

Changeset 79381 in vbox


Ignore:
Timestamp:
Jun 27, 2019 9:47:57 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131619
Message:

VMM/IEM: Nested VMX: bugref:9180 Always verify VM-exit reason is passed. Although some of these exits implicitly include the exit reason, missing it and debugging is just painful.

File:
1 edited

Legend:

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

    r79343 r79381  
    1587215872    Assert(pExitInfo);
    1587315873    Assert(pExitEventInfo);
     15874    Assert(pExitInfo->uReason == VMX_EXIT_APIC_ACCESS);
    1587415875    VBOXSTRICTRC rcStrict = iemVmxVmexitApicAccessWithInfo(pVCpu, pExitInfo, pExitEventInfo);
    1587515876    Assert(!pVCpu->iem.s.cActiveMappings);
     
    1594215943    Assert(pExitInfo);
    1594315944    Assert(pExitEventInfo);
     15945    Assert(pExitInfo->uReason == VMX_EXIT_XCPT_OR_NMI);
    1594415946    VBOXSTRICTRC rcStrict = iemVmxVmexitEventWithInfo(pVCpu, pExitInfo, pExitEventInfo);
    1594515947    Assert(!pVCpu->iem.s.cActiveMappings);
     
    1607116073VMM_INT_DECL(VBOXSTRICTRC) IEMExecVmxVmexitTaskSwitch(PVMCPU pVCpu, PCVMXVEXITINFO pExitInfo, PCVMXVEXITEVENTINFO pExitEventInfo)
    1607216074{
     16075    Assert(pExitInfo);
     16076    Assert(pExitEventInfo);
     16077    Assert(pExitInfo->uReason == VMX_EXIT_TASK_SWITCH);
    1607316078    VBOXSTRICTRC rcStrict = iemVmxVmexitTaskSwitchWithInfo(pVCpu, pExitInfo, pExitEventInfo);
    1607416079    Assert(!pVCpu->iem.s.cActiveMappings);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette