VirtualBox

Changeset 54058 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Feb 2, 2015 1:48:23 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
97991
Message:

VMM/HMVMXR0: Fixed incorrect setting of the block NMI force-flag.

File:
1 edited

Legend:

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

    r53631 r54058  
    57555755    int rc = hmR0VmxReadIdtVectoringInfoVmcs(pVmxTransient);
    57565756    AssertRCReturn(rc, rc);
     5757    rc = hmR0VmxReadExitIntInfoVmcs(pVmxTransient);
     5758    AssertRCReturn(rc, rc);
     5759
    57575760    if (VMX_IDT_VECTORING_INFO_VALID(pVmxTransient->uIdtVectoringInfo))
    57585761    {
    5759         rc = hmR0VmxReadExitIntInfoVmcs(pVmxTransient);
    5760         AssertRCReturn(rc, rc);
    5761 
    57625762        uint32_t uIdtVectorType = VMX_IDT_VECTORING_INFO_TYPE(pVmxTransient->uIdtVectoringInfo);
    57635763        uint32_t uIdtVector     = VMX_IDT_VECTORING_INFO_VECTOR(pVmxTransient->uIdtVectoringInfo);
     
    58935893        }
    58945894    }
    5895     else if (    VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK_IRET(pVmxTransient->uExitIntInfo)
    5896              &&  uExitVector != X86_XCPT_DF
     5895    else if (   VMX_EXIT_INTERRUPTION_INFO_IS_VALID(pVmxTransient->uExitIntInfo)
     5896             && VMX_EXIT_INTERRUPTION_INFO_NMI_UNBLOCK_IRET(pVmxTransient->uExitIntInfo)
     5897             && uExitVector != X86_XCPT_DF
    58975898             && (pVCpu->hm.s.vmx.u32PinCtls & VMX_VMCS_CTRL_PIN_EXEC_VIRTUAL_NMI))
    58985899    {
     
    59035904         */
    59045905        if (!VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_BLOCK_NMIS))
     5906        {
     5907            Log4(("hmR0VmxCheckExitDueToEventDelivery: vcpu[%RU32] Setting VMCPU_FF_BLOCK_NMIS. Valid=%RTbool uExitReason=%u\n",
     5908                  pVCpu->idCpu, VMX_EXIT_INTERRUPTION_INFO_IS_VALID(pVmxTransient->uExitIntInfo), pVmxTransient->uExitReason));
    59055909            VMCPU_FF_SET(pVCpu, VMCPU_FF_BLOCK_NMIS);
     5910        }
    59065911    }
    59075912
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