VirtualBox

Changeset 44968 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 11, 2013 9:08:47 AM (12 years ago)
Author:
vboxsync
Message:

VMM/VMMR0: build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r44958 r44968  
    31883188        uint32_t cPreemptionTickCount = (uint32_t)RT_MIN(cTicksToDeadline, UINT32_MAX - 16);
    31893189        rc = VMXWriteVmcs(VMX_VMCS32_GUEST_PREEMPTION_TIMER_VALUE, cPreemptionTickCount);
    3190         AssertRC(rc);
     3190        AssertRC(VBOXSTRICTRC_VAL(rc));
    31913191    }
    31923192    else
     
    32003200            /* Note: VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT takes precedence over TSC_OFFSET, applies to RDTSCP too. */
    32013201            rc = VMXWriteVmcs64(VMX_VMCS64_CTRL_TSC_OFFSET_FULL, pVCpu->hm.s.vmx.u64TSCOffset);
    3202             AssertRC(rc);
     3202            AssertRC(VBOXSTRICTRC_VAL(rc));
    32033203
    32043204            pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT;
    32053205            rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls);
    3206             AssertRC(rc);
     3206            AssertRC(VBOXSTRICTRC_VAL(rc));
    32073207            STAM_COUNTER_INC(&pVCpu->hm.s.StatTscOffset);
    32083208        }
     
    32163216            pVCpu->hm.s.vmx.u32ProcCtls |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT;
    32173217            rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls);
    3218             AssertRC(rc);
     3218            AssertRC(VBOXSTRICTRC_VAL(rc));
    32193219            STAM_COUNTER_INC(&pVCpu->hm.s.StatTscInterceptOverFlow);
    32203220        }
     
    32243224        pVCpu->hm.s.vmx.u32ProcCtls |= VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_RDTSC_EXIT;
    32253225        rc = VMXWriteVmcs(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls);
    3226         AssertRC(rc);
     3226        AssertRC(VBOXSTRICTRC_VAL(rc));
    32273227        STAM_COUNTER_INC(&pVCpu->hm.s.StatTscIntercept);
    32283228    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette