VirtualBox

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


Ignore:
Timestamp:
Oct 18, 2023 6:57:30 AM (14 months ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10318 Add assertions to verify NMI inhibition state (esp. since virtual NMIs are supported)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp

    r101485 r101487  
    71027102    {
    71037103        if (pVmcs->u32PinCtls & VMX_PIN_CTLS_VIRT_NMI)
     7104        {
    71047105            pVCpu->cpum.GstCtx.hwvirt.vmx.fVirtNmiBlocking = true;
     7106            Assert(!CPUMAreInterruptsInhibitedByNmi(&pVCpu->cpum.GstCtx));
     7107        }
    71057108        else
    71067109        {
     
    71107113    }
    71117114    else
     7115    {
    71127116        pVCpu->cpum.GstCtx.hwvirt.vmx.fVirtNmiBlocking = false;
     7117        Assert(!CPUMAreInterruptsInhibitedByNmi(&pVCpu->cpum.GstCtx));
     7118    }
    71137119
    71147120    /* SMI blocking is irrelevant. We don't support SMIs yet. */
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