VirtualBox

Changeset 101450 in vbox


Ignore:
Timestamp:
Oct 16, 2023 8:56:41 AM (15 months ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10318 Added ifdef VBOX_WITH_NESTED_HWVIRT_VMX to the RDRAND, RDSEED VMX VM-exit intercept code.

File:
1 edited

Legend:

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

    r101448 r101450  
    99759975IEM_CIMPL_DEF_2(iemCImpl_rdseed, uint8_t, iReg, IEMMODE, enmEffOpSize)
    99769976{
     9977#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    99779978    /* Nested-guest VMX intercept. */
    99789979    if (   !IEM_VMX_IS_NON_ROOT_MODE(pVCpu)
     
    99849985        IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_RDSEED, VMXINSTRID_RDSEED, cbInstr);
    99859986    }
     9987#endif
    99869988
    99879989    uint32_t *pEFlags = &pVCpu->cpum.GstCtx.eflags.uBoth;
     
    1003110033IEM_CIMPL_DEF_2(iemCImpl_rdrand, uint8_t, iReg, IEMMODE, enmEffOpSize)
    1003210034{
     10035#ifdef VBOX_WITH_NESTED_HWVIRT_VMX
    1003310036    /* Nested-guest VMX intercept. */
    1003410037    if (   !IEM_VMX_IS_NON_ROOT_MODE(pVCpu)
     
    1004010043        IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(pVCpu, VMX_EXIT_RDRAND, VMXINSTRID_RDRAND, cbInstr);
    1004110044    }
     10045#endif
    1004210046
    1004310047    uint32_t *pEFlags = &pVCpu->cpum.GstCtx.eflags.uBoth;
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