Changeset 47156 in vbox for trunk/src/VBox
- Timestamp:
- Jul 15, 2013 11:49:02 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r47123 r47156 35 35 # define HMSVM_ALWAYS_TRAP_ALL_XCPTS 36 36 # define HMSVM_ALWAYS_TRAP_PF 37 # define HMSVM_ALWAYS_TRAP_TASK_SWITCH 37 38 #endif 38 39 … … 714 715 } 715 716 717 #ifdef HMSVM_ALWAYS_TRAP_TASK_SWITCH 718 pVmcb->ctrl.u32InterceptCtrl1 |= SVM_CTRL1_INTERCEPT_TASK_SWITCH; 719 #endif 720 716 721 /* 717 722 * The following MSRs are saved/restored automatically during the world-switch. … … 4253 4258 HMSVM_VALIDATE_EXIT_HANDLER_PARAMS(); 4254 4259 4260 #ifndef HMSVM_ALWAYS_TRAP_TASK_SWITCH 4261 Assert(!pVCpu->CTX_SUFF(pVM)->hm.s.fNestedPaging); 4262 #endif 4263 4255 4264 /* Check if this task-switch occurred while delivery an event through the guest IDT. */ 4256 4265 PSVMVMCB pVmcb = (PSVMVMCB)pVCpu->hm.s.svm.pvVmcb;
Note:
See TracChangeset
for help on using the changeset viewer.