VirtualBox

Changeset 74565 in vbox for trunk


Ignore:
Timestamp:
Oct 2, 2018 6:00:41 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125434
Message:

VMM/IEM: Nested VMX: bugref:9180 Add macro for instruction-based VM-exit that need VM-exit information.

File:
1 edited

Legend:

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

    r74539 r74565  
    403403
    404404/**
     405 * Invokes the VMX VM-exit handler for an instruction intercept where the
     406 * instruction provides additional VM-exit information.
     407 */
     408# define IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(a_pVCpu, a_uExitReason, a_uInstrId, a_cbInstr) \
     409    do { return iemVmxVmexitInstrNeedsInfo((a_pVCpu), (a_uExitReason), (a_uInstrId), (a_cbInstr)); } while (0)
     410
     411/**
    405412 * Check if the nested-guest has the given Pin-based VM-execution control set.
    406413 */
     
    427434# define IEM_VMX_IS_PROCCTLS_SET(a_pVCpu, a_cbInstr)                    (false)
    428435# define IEM_VMX_IS_PROCCTLS2_SET(a_pVCpu, a_cbInstr)                   (false)
    429 # define IEM_VMX_VMEXIT_INSTR_RET(a_pVCpu, a_Reason, a_cbInstr)         do { return VERR_VMX_IPE_1; } while (0)
     436# define IEM_VMX_VMEXIT_INSTR_RET(a_pVCpu, a_uExitReason, a_cbInstr)    do { return VERR_VMX_IPE_1; } while (0)
     437# define IEM_VMX_VMEXIT_INSTR_NEEDS_INFO_RET(a_pVCpu, a_uExitReason, a_uInstrId, a_cbInstr)     do { return VERR_VMX_IPE_1; } while (0)
    430438
    431439#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette