VirtualBox

Changeset 102172 in vbox


Ignore:
Timestamp:
Nov 21, 2023 7:09:04 AM (12 months ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:10318 Trying to nail down the cause of the BSOD/assertions in Windows 10 with Hyper-V enabled.

File:
1 edited

Legend:

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

    r102020 r102172  
    43984398    bool         fParavirtTsc;
    43994399    uint64_t     uTscOffset;
    4400     PVMCC        pVM       = pVCpu->CTX_SUFF(pVM);
    4401     PVMXVMCSINFO pVmcsInfo = hmGetVmxActiveVmcsInfo(pVCpu);
     4400    PVMCC        pVM = pVCpu->CTX_SUFF(pVM);
    44024401
    44034402    if (pVM->hmr0.s.vmx.fUsePreemptTimer)
     
    44654464        if (pVmxTransient->fIsNestedGuest)
    44664465            uTscOffset = CPUMApplyNestedGuestTscOffset(pVCpu, uTscOffset);
    4467         hmR0VmxSetTscOffsetVmcs(pVmcsInfo, uTscOffset);
     4466        hmR0VmxSetTscOffsetVmcs(pVmxTransient->pVmcsInfo, uTscOffset);
    44684467        hmR0VmxRemoveProcCtlsVmcs(pVCpu, pVmxTransient, VMX_PROC_CTLS_RDTSC_EXIT);
    44694468    }
     
    48614860    if (!CPUMIsGuestInVmxNonRootMode(&pVCpu->cpum.GstCtx))
    48624861    {
     4862        Assert(!pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs);
    48634863        vmxHCClearIntWindowExitVmcs(pVCpu, pVmcsInfo);
    48644864        vmxHCClearNmiWindowExitVmcs(pVCpu, pVmcsInfo);
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