VirtualBox

Changeset 79650 in vbox for trunk


Ignore:
Timestamp:
Jul 10, 2019 5:01:04 AM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Argh, 32-bit.

File:
1 edited

Legend:

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

    r79648 r79650  
    975975 * Sets the TSC offset for the current VMCS.
    976976 *
     977 * @param   pVCpu       The cross context virtual CPU structure.
    977978 * @param   uTscOffset  The TSC offset to set.
    978979 * @param   pVmcsInfo   The VMCS info. object.
    979980 */
    980 static void hmR0VmxSetTscOffsetVmcs(PVMXVMCSINFO pVmcsInfo, uint64_t uTscOffset)
    981 {
     981static void hmR0VmxSetTscOffsetVmcs(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo, uint64_t uTscOffset)
     982{
     983    NOREF(pVCpu); /* Used implicitly by VMXWriteVmcs64 on 32-bit hosts. */
    982984    if (pVmcsInfo->u64TscOffset != uTscOffset)
    983985    {
     
    75027504        if (pVmxTransient->fIsNestedGuest)
    75037505            uTscOffset = CPUMApplyNestedGuestTscOffset(pVCpu, uTscOffset);
    7504         hmR0VmxSetTscOffsetVmcs(pVmcsInfo, uTscOffset);
     7506        hmR0VmxSetTscOffsetVmcs(pVCpu, pVmcsInfo, uTscOffset);
    75057507        hmR0VmxRemoveProcCtlsVmcs(pVCpu, pVmxTransient, VMX_PROC_CTLS_RDTSC_EXIT);
    75067508    }
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