Changeset 55307 in vbox for trunk/src/VBox
- Timestamp:
- Apr 16, 2015 1:16:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r55306 r55307 7356 7356 * to be updated too. This is a stripped down version which gets out ASAP trying to not trigger any assertion. 7357 7357 */ 7358 RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER; \ 7358 7359 VMMRZCallRing3RemoveNotification(pVCpu); 7359 7360 VMMRZCallRing3Disable(pVCpu); 7360 HM_DISABLE_PREEMPT();7361 RTThreadPreemptDisable(&PreemptState); 7361 7362 7362 7363 PVM pVM = pVCpu->CTX_SUFF(pVM); … … 7376 7377 if ( pVM->hm.s.fAllow64BitGuests 7377 7378 && pVCpu->hm.s.vmx.fLazyMsrs) 7378 {7379 7379 hmR0VmxLazyRestoreHostMsrs(pVCpu); 7380 }7381 7380 #endif 7382 7381 /* Update auto-load/store host MSRs values when we re-enter VT-x (as we could be on a different CPU). */ … … 7390 7389 7391 7390 VMMR0ThreadCtxHooksDeregister(pVCpu); 7392 7393 7391 HMR0LeaveCpu(pVCpu); 7394 HM_RESTORE_PREEMPT();7392 RTThreadPreemptRestore(&PreemptState); 7395 7393 return VINF_SUCCESS; 7396 7394 }
Note:
See TracChangeset
for help on using the changeset viewer.