VirtualBox

Ignore:
Timestamp:
Dec 6, 2018 11:51:06 AM (6 years ago)
Author:
vboxsync
Message:

VMM: VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM fixes.

File:
1 edited

Legend:

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

    r75830 r76011  
    340340# if defined(VBOX_WITH_NESTED_HWVIRT_ONLY_IN_IEM) && defined(IN_RING3)
    341341    /* CLGI/STGI may not have been intercepted and thus not executed in IEM. */
    342     if (   HMIsEnabled(pVM)
     342    if (   HMIsEnabled(pVCpu->CTX_SUFF(pVM))
    343343        && HMSvmIsVGifActive(pVCpu->CTX_SUFF(pVM)))
    344344        return EMR3SetExecutionPolicy(pVCpu->CTX_SUFF(pVM)->pUVM, EMEXECPOLICY_IEM_ALL, false);
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