VirtualBox

Ignore:
Timestamp:
Aug 27, 2021 11:40:29 AM (3 years ago)
Author:
vboxsync
Message:

VMM/HM: Don't use VMMR0IsLogFlushDisabled, use !VMMRZCallRing3IsEnabled instead. The VMMR0*LogFlushDisable functions will disappear shortly. bugref:10086

File:
1 edited

Legend:

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

    r90932 r90947  
    87368736
    87378737    VMMRZCallRing3Disable(pVCpu);
    8738     Assert(VMMR0IsLogFlushDisabled(pVCpu));
    87398738
    87408739    Log4Func(("-> hmR0VmxLongJmpToRing3 enmOperation=%d\n", enmOperation));
     
    96679666    HMVMX_ASSERT_PREEMPT_SAFE(pVCpu);
    96689667    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    9669     Assert(VMMR0IsLogFlushDisabled(pVCpu));
    96709668
    96719669#ifdef HMVMX_ALWAYS_SYNC_FULL_GUEST_STATE
     
    1101611014{
    1101711015    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    11018     Assert(VMMR0IsLogFlushDisabled(pVCpu));
    1101911016    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
    1102011017    Assert(!pVCpu->hm.s.Event.fPending);
     
    1325213249        Log4Func(("vcpu[%RU32]\n", (a_pVCpu)->idCpu)); \
    1325313250        HMVMX_ASSERT_PREEMPT_SAFE(a_pVCpu); \
    13254         if (VMMR0IsLogFlushDisabled((a_pVCpu))) \
     13251        if (!VMMRZCallRing3IsEnabled((a_pVCpu))) \
    1325513252            HMVMX_ASSERT_PREEMPT_CPUID(); \
    1325613253        HMVMX_STOP_EXIT_DISPATCH_PROF(); \
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