VirtualBox

Changeset 80812 in vbox for trunk/src


Ignore:
Timestamp:
Sep 16, 2019 6:40:41 AM (5 years ago)
Author:
vboxsync
Message:

VMM/EM: Nested VMX: bugref:9180 Use CPUMIsGuestVmxInterceptEvents.

File:
1 edited

Legend:

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

    r80460 r80812  
    20842084                {
    20852085                    Assert(CPUMIsGuestVmxProcCtlsSet(pVCpu, &pVCpu->cpum.GstCtx, VMX_PROC_CTLS_NMI_WINDOW_EXIT));
    2086                     Assert(pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents);
     2086                    Assert(CPUMIsGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx));
    20872087                    rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexit(pVCpu, VMX_EXIT_NMI_WINDOW, 0 /* uExitQual */));
    20882088                    AssertMsg(   rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE
     
    21492149                {
    21502150                    Assert(CPUMIsGuestVmxProcCtlsSet(pVCpu, &pVCpu->cpum.GstCtx, VMX_PROC_CTLS_INT_WINDOW_EXIT));
    2151                     Assert(pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents);
     2151                    Assert(CPUMIsGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx));
    21522152                    rc2 = VBOXSTRICTRC_VAL(IEMExecVmxVmexit(pVCpu, VMX_EXIT_INT_WINDOW, 0 /* uExitQual */));
    21532153                    AssertMsg(   rc2 != VINF_VMX_INTERCEPT_NOT_ACTIVE
     
    21942194                            CPUM_IMPORT_EXTRN_RET(pVCpu, IEM_CPUMCTX_EXTRN_XCPT_MASK);
    21952195                            /** @todo this really isn't nice, should properly handle this */
     2196                            /* Note! This can still cause a VM-exit (on Intel). */
    21962197                            rc2 = TRPMR3InjectEvent(pVM, pVCpu, TRPM_HARDWARE_INT, &fInjected);
    21972198                            fWakeupPending = true;
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