Changeset 90829 in vbox for trunk/src/VBox/VMM/VMMRZ
- Timestamp:
- Aug 24, 2021 10:26:07 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRZ/VMMRZ.cpp
r82968 r90829 144 144 pVCpu->pVMRC->vmm.s.fRCLoggerFlushingDisabled = true; 145 145 #else 146 # ifdef LOG_ENABLED 147 if (pVCpu->vmm.s.pR0LoggerR0) 148 pVCpu->vmm.s.pR0LoggerR0->fFlushingDisabled = true; 149 # endif 150 if (pVCpu->vmm.s.pR0RelLoggerR0) 151 pVCpu->vmm.s.pR0RelLoggerR0->fFlushingDisabled = true; 146 pVCpu->vmmr0.s.fLogFlushingDisabled = true; 147 if (pVCpu->vmmr0.s.Logger.pLogger) 148 pVCpu->vmmr0.s.Logger.pLogger->u32UserValue1 |= VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED; 149 if (pVCpu->vmmr0.s.RelLogger.pLogger) 150 pVCpu->vmmr0.s.RelLogger.pLogger->u32UserValue1 |= VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED; 152 151 #endif 153 152 } … … 178 177 pVCpu->pVMRC->vmm.s.fRCLoggerFlushingDisabled = false; 179 178 #else 180 # ifdef LOG_ENABLED 181 if (pVCpu->vmm.s.pR0LoggerR0) 182 pVCpu->vmm.s.pR0LoggerR0->fFlushingDisabled = false; 183 # endif 184 if (pVCpu->vmm.s.pR0RelLoggerR0) 185 pVCpu->vmm.s.pR0RelLoggerR0->fFlushingDisabled = false; 179 pVCpu->vmmr0.s.fLogFlushingDisabled = false; 180 if (pVCpu->vmmr0.s.Logger.pLogger) 181 pVCpu->vmmr0.s.Logger.pLogger->u32UserValue1 &= ~VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED; 182 if (pVCpu->vmmr0.s.RelLogger.pLogger) 183 pVCpu->vmmr0.s.RelLogger.pLogger->u32UserValue1 &= ~VMMR0_LOGGER_FLAGS_FLUSHING_DISABLED; 186 184 #endif 187 185 }
Note:
See TracChangeset
for help on using the changeset viewer.