Changeset 44968 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 11, 2013 9:08:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r44958 r44968 3188 3188 uint32_t cPreemptionTickCount = (uint32_t)RT_MIN(cTicksToDeadline, UINT32_MAX - 16); 3189 3189 rc = VMXWriteVmcs(VMX_VMCS32_GUEST_PREEMPTION_TIMER_VALUE, cPreemptionTickCount); 3190 AssertRC( rc);3190 AssertRC(VBOXSTRICTRC_VAL(rc)); 3191 3191 } 3192 3192 else … … 3200 3200 /* Note: VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT takes precedence over TSC_OFFSET, applies to RDTSCP too. */ 3201 3201 rc = VMXWriteVmcs64(VMX_VMCS64_CTRL_TSC_OFFSET_FULL, pVCpu->hm.s.vmx.u64TSCOffset); 3202 AssertRC( rc);3202 AssertRC(VBOXSTRICTRC_VAL(rc)); 3203 3203 3204 3204 pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT; 3205 3205 rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls); 3206 AssertRC( rc);3206 AssertRC(VBOXSTRICTRC_VAL(rc)); 3207 3207 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscOffset); 3208 3208 } … … 3216 3216 pVCpu->hm.s.vmx.u32ProcCtls |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT; 3217 3217 rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls); 3218 AssertRC( rc);3218 AssertRC(VBOXSTRICTRC_VAL(rc)); 3219 3219 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscInterceptOverFlow); 3220 3220 } … … 3224 3224 pVCpu->hm.s.vmx.u32ProcCtls |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT; 3225 3225 rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls); 3226 AssertRC( rc);3226 AssertRC(VBOXSTRICTRC_VAL(rc)); 3227 3227 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscIntercept); 3228 3228 }
Note:
See TracChangeset
for help on using the changeset viewer.