VirtualBox

Changeset 75759 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp


Ignore:
Timestamp:
Nov 27, 2018 7:10:10 AM (6 years ago)
Author:
vboxsync
Message:

VMM: Nested SVM: bugref:7243 Remove super confusing virtual-GIF vs GIF handling.

File:
1 edited

Legend:

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

    r75683 r75759  
    18251825    *pfInjected      = false;
    18261826
    1827     PVM pVM  = pVCpu->CTX_SUFF(pVM);
    1828     Assert(pVCpu->cpum.GstCtx.hwvirt.fGif);
    1829     bool fVirtualGif = CPUMGetSvmNstGstVGif(&pVCpu->cpum.GstCtx);
     1827    PVM  pVM  = pVCpu->CTX_SUFF(pVM);
     1828    bool fGif = pVCpu->cpum.GstCtx.hwvirt.fGif;
    18301829#ifdef VBOX_WITH_RAW_MODE
    1831     fVirtualGif    &= !PATMIsPatchGCAddr(pVM, pVCpu->cpum.GstCtx.eip);
    1832 #endif
    1833     if (fVirtualGif)
     1830    fGif &= !PATMIsPatchGCAddr(pVM, pVCpu->cpum.GstCtx.eip);
     1831#endif
     1832    if (fGif)
    18341833    {
    18351834        if (CPUMCanSvmNstGstTakePhysIntr(pVCpu, &pVCpu->cpum.GstCtx))
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