VirtualBox

Changeset 90953 in vbox for trunk/src/VBox/VMM/VMMRZ


Ignore:
Timestamp:
Aug 27, 2021 12:45:24 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146592
Message:

VMM: Don't need the per-logger flushing-disabled flag (VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED). bugref:10086

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRZ/VMMRZ.cpp

    r90948 r90953  
    139139    if (ASMAtomicUoIncU32(&pVCpu->vmm.s.cCallRing3Disabled) == 1)
    140140    {
    141         /** @todo it might make more sense to just disable logging here, then we
    142          * won't flush away important bits... but that goes both ways really. */
    143141#ifdef IN_RC
    144142        pVCpu->pVMRC->vmm.s.fRCLoggerFlushingDisabled = true;
    145143#else
    146144        pVCpu->vmmr0.s.fLogFlushingDisabled = true;
    147         if (pVCpu->vmmr0.s.u.s.Logger.pLogger)
    148             pVCpu->vmmr0.s.u.s.Logger.pLogger->u32UserValue1 |= VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED;
    149         if (pVCpu->vmmr0.s.u.s.RelLogger.pLogger)
    150             pVCpu->vmmr0.s.u.s.RelLogger.pLogger->u32UserValue1 |= VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED;
    151145#endif
    152146    }
     
    178172#else
    179173        pVCpu->vmmr0.s.fLogFlushingDisabled = false;
    180         if (pVCpu->vmmr0.s.u.s.Logger.pLogger)
    181             pVCpu->vmmr0.s.u.s.Logger.pLogger->u32UserValue1 &= ~VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED;
    182         if (pVCpu->vmmr0.s.u.s.RelLogger.pLogger)
    183             pVCpu->vmmr0.s.u.s.RelLogger.pLogger->u32UserValue1 &= ~VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED;
    184174#endif
    185175    }
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