VirtualBox

Changeset 98062 in vbox for trunk


Ignore:
Timestamp:
Jan 12, 2023 10:41:45 AM (2 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Adjust assertion for nested-guest VMCS.

File:
1 edited

Legend:

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

    r97562 r98062  
    46574657#ifdef VMX_WITH_MAYBE_ALWAYS_INTERCEPT_MOV_DRX
    46584658    Assert(   (pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_MOV_DR_EXIT)
     4659           ||  pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs
    46594660           || (!CPUMIsHyperDebugStateActive(pVCpu) && !pVCpu->CTX_SUFF(pVM)->hmr0.s.vmx.fAlwaysInterceptMovDRx));
    46604661#else
    4661     Assert((pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_MOV_DR_EXIT) || !CPUMIsHyperDebugStateActive(pVCpu));
     4662    Assert(   (pVmcsInfo->u32ProcCtls & VMX_PROC_CTLS_MOV_DR_EXIT)
     4663           ||  pVCpu->hmr0.s.vmx.fSwitchedToNstGstVmcs
     4664           || !CPUMIsHyperDebugStateActive(pVCpu));
    46624665#endif
    46634666    CPUMR0DebugStateMaybeSaveGuestAndRestoreHost(pVCpu, true /* save DR6 */);
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