VirtualBox

Ignore:
Timestamp:
Sep 27, 2021 9:06:36 AM (3 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10092 VM-exit handler for EPT violation. [nits]

File:
1 edited

Legend:

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

    r91378 r91379  
    37383738    uint8_t const fSupportsAccessDirty = fCaps & MSR_IA32_VMX_EPT_VPID_CAP_ACCESS_DIRTY;
    37393739
    3740     uint8_t const fDataRead   = ((fAccess & IEM_ACCESS_DATA_R)  == IEM_ACCESS_DATA_R)  | fSupportsAccessDirty;
    3741     uint8_t const fDataWrite  = ((fAccess & IEM_ACCESS_DATA_RW) == IEM_ACCESS_DATA_RW) | fSupportsAccessDirty;
    3742     uint8_t const fInstrFetch = (fAccess & IEM_ACCESS_INSTRUCTION) == IEM_ACCESS_INSTRUCTION;
    3743     uint8_t const fEptRead    = fEptAccess & EPT_E_READ;
    3744     uint8_t const fEptWrite   = fEptAccess & EPT_E_WRITE;
    3745     uint8_t const fEptExec    = fEptAccess & EPT_E_EXECUTE;
    3746     bool const fNmiUnblocking = pVCpu->cpum.GstCtx.hwvirt.vmx.fNmiUnblockingIret;
     3740    uint8_t const fDataRead    = ((fAccess & IEM_ACCESS_DATA_R)  == IEM_ACCESS_DATA_R)  | fSupportsAccessDirty;
     3741    uint8_t const fDataWrite   = ((fAccess & IEM_ACCESS_DATA_RW) == IEM_ACCESS_DATA_RW) | fSupportsAccessDirty;
     3742    uint8_t const fInstrFetch  = (fAccess & IEM_ACCESS_INSTRUCTION) == IEM_ACCESS_INSTRUCTION;
     3743    bool const fEptRead        = RT_BOOL(fEptAccess & EPT_E_READ);
     3744    bool const fEptWrite       = RT_BOOL(fEptAccess & EPT_E_WRITE);
     3745    bool const fEptExec        = RT_BOOL(fEptAccess & EPT_E_EXECUTE);
     3746    bool const fNmiUnblocking  = pVCpu->cpum.GstCtx.hwvirt.vmx.fNmiUnblockingIret;
    37473747
    37483748    uint64_t const u64ExitQual = RT_BF_MAKE(VMX_BF_EXIT_QUAL_EPT_ACCESS_READ,        fDataRead)
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