VirtualBox

Changeset 65275 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 13, 2017 8:42:10 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112832
Message:

VMM/HMVMXR0: Fixed an extra VMMRZCallRing3Enable when cleaning up the code in r112790.

File:
1 edited

Legend:

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

    r65251 r65275  
    84098409    else
    84108410    {
    8411         VMMRZCallRing3Enable(pVCpu);
    84128411        Assert(rcStrict == VINF_EM_RESCHEDULE_REM || RT_FAILURE_NP(rcStrict));
    84138412        return rcStrict;
     
    85538552            AssertMsg(rcStrict == VINF_EM_RESCHEDULE_REM,
    85548553                      ("hmR0VmxLoadGuestStateOptimal: hmR0VmxLoadGuestState failed! rc=%Rrc\n", VBOXSTRICTRC_VAL(rcStrict)));
     8554            Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    85558555            return rcStrict;
    85568556        }
     
    87118711        if (!RTThreadPreemptIsPending(NIL_RTTHREAD))
    87128712        {
    8713             /* We've injected any pending events. This is really the point of no return (to ring-3). */
    87148713            pVCpu->hm.s.Event.fPending = false;
    87158714
     8715            /*
     8716             * We've injected any pending events. This is really the point of no return (to ring-3).
     8717             *
     8718             * Note! The caller expects to continue with interrupts & longjmps disabled on successful
     8719             * returns from this function, so don't enable them here.
     8720             */
    87168721            return VINF_SUCCESS;
    87178722        }
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