VirtualBox

Ignore:
Timestamp:
Oct 4, 2018 8:38:26 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 VM-exit bits; CLTS intercept.

File:
1 edited

Legend:

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

    r74603 r74605  
    57845784
    57855785    IEM_CTX_ASSERT(pVCpu, CPUMCTX_EXTRN_CR0);
     5786
     5787#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
     5788    /* Check nested-guest VMX intercept. */
     5789    if (IEM_VMX_IS_NON_ROOT_MODE(pVCpu))
     5790    {
     5791        VBOXSTRICTRC rcStrict = iemVmxVmexitInstrClts(pVCpu, cbInstr);
     5792        if (rcStrict == VINF_PERMISSION_DENIED)
     5793        {
     5794            iemRegAddToRipAndClearRF(pVCpu, cbInstr);
     5795            return VINF_SUCCESS;
     5796        }
     5797        else if (rcStrict != VINF_VMX_INTERCEPT_NOT_ACTIVE)
     5798            return rcStrict;
     5799    }
     5800#endif
     5801
    57865802    uint64_t uNewCr0 = pVCpu->cpum.GstCtx.cr0;
    57875803    uNewCr0 &= ~X86_CR0_TS;
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