VirtualBox

Changeset 85765 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 14, 2020 11:35:19 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139916
Message:

VMM/HMVMXR0: Fix assertion with exception bitmaps by restoring debug state in the inner loop itself.

File:
1 edited

Legend:

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

    r85188 r85765  
    1253312533        if (VBOXVMM_GET_SETTINGS_SEQ_NO() != DbgState.uDtraceSettingsSeqNo)
    1253412534            hmR0VmxPreRunGuestDebugStateUpdate(pVCpu, &VmxTransient, &DbgState);
     12535
     12536        /* Restore all controls applied by hmR0VmxPreRunGuestDebugStateApply above. */
     12537        rcStrict = hmR0VmxRunDebugStateRevert(pVCpu, &VmxTransient, &DbgState, rcStrict);
     12538        Assert(rcStrict == VINF_SUCCESS);
    1253512539    }
    1253612540
     
    1254812552     *        flag is pending without being used. Seen early in bios init when
    1254912553     *        accessing APIC page in protected mode. */
    12550 
    12551     /*
    12552      * Restore VM-exit control settings as we may not re-enter this function the
    12553      * next time around.
    12554      */
    12555     rcStrict = hmR0VmxRunDebugStateRevert(pVCpu, &VmxTransient, &DbgState, rcStrict);
    1255612554
    1255712555    /* Restore HMCPU indicators. */
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