Changeset 46595 in vbox
- Timestamp:
- Jun 17, 2013 2:52:12 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r46590 r46595 6634 6634 Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD)); 6635 6635 6636 #ifdef LOG_ENABLED 6637 /** @todo r=ramshankar: I'm not able to use VMMRZCallRing3Disable() here, 6638 * probably not initialized yet? Anyway this will do for now. */ 6639 bool fCallerDisabledLogFlush = VMMR0IsLogFlushDisabled(pVCpu); 6640 VMMR0LogFlushDisable(pVCpu); 6641 #endif 6642 6636 6643 LogFlowFunc(("pVM=%p pVCpu=%p\n", pVM, pVCpu)); 6637 6644 … … 6689 6696 ("Missed updating flags while loading guest state. pVM=%p pVCpu=%p idCpu=%RU32 fContextUseFlags=%#RX32\n", 6690 6697 pVM, pVCpu, pVCpu->idCpu, pVCpu->hm.s.fContextUseFlags)); 6698 6699 #ifdef LOG_ENABLED 6700 /* Only reenable log-flushing if it the caller originally had it enabled. */ 6701 if (!fCallerDisabledLogFlush) 6702 VMMR0LogFlushEnable(pVCpu); 6703 #endif 6691 6704 6692 6705 STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatLoadGuestState, x);
Note:
See TracChangeset
for help on using the changeset viewer.