VirtualBox

Changeset 80363 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Aug 21, 2019 9:58:59 AM (5 years ago)
Author:
vboxsync
Message:

VMM/EM: Nested VMX: bugref:9180 Add assertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/EM.cpp

    r80333 r80363  
    20812081                {
    20822082                    Assert(CPUMIsGuestVmxProcCtlsSet(pVCpu, &pVCpu->cpum.GstCtx, VMX_PROC_CTLS_NMI_WINDOW_EXIT));
     2083                    Assert(pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents);
    20832084                    rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexit(pVCpu, VMX_EXIT_NMI_WINDOW, 0 /* uExitQual */));
    20842085                    AssertMsg(   rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE
     
    21452146                {
    21462147                    Assert(CPUMIsGuestVmxProcCtlsSet(pVCpu, &pVCpu->cpum.GstCtx, VMX_PROC_CTLS_INT_WINDOW_EXIT));
     2148                    Assert(pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents);
    21472149                    rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexit(pVCpu, VMX_EXIT_INT_WINDOW, 0 /* uExitQual */));
    21482150                    AssertMsg(   rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE
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