VirtualBox

Changeset 72065 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Apr 30, 2018 6:27:34 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122431
Message:

VMM/SVM: Interrupt injection fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r71293 r72065  
    16741674    if (CPUMIsGuestInSvmNestedHwVirtMode(pCtx))
    16751675    {
    1676         PVM  pVM  = pVCpu->CTX_SUFF(pVM);
    1677         bool fGif = pCtx->hwvirt.fGif;
     1676        PVM pVM  = pVCpu->CTX_SUFF(pVM);
     1677        Assert(pCtx->hwvirt.fGif);
     1678        bool fVirtualGif = CPUMGetSvmNstGstVGif(pCtx);
    16781679#ifdef VBOX_WITH_RAW_MODE
    1679         fGif &= !PATMIsPatchGCAddr(pVM, pCtx->eip);
    1680 #endif
    1681         if (fGif)
     1680        fVirtualGif    &= !PATMIsPatchGCAddr(pVM, pCtx->eip);
     1681#endif
     1682        if (fVirtualGif)
    16821683        {
    16831684            if (CPUMCanSvmNstGstTakePhysIntr(pVCpu, pCtx))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette