Changeset 80809 in vbox
- Timestamp:
- Sep 16, 2019 6:33:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImplVmxInstr.cpp.h
r80768 r80809 2535 2535 2536 2536 /* We should not cause an NMI-window/interrupt-window VM-exit when injecting events as part of VM-entry. */ 2537 if (! pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents)2537 if (!CPUMIsGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx)) 2538 2538 { 2539 2539 Assert(uExitReason != VMX_EXIT_NMI_WINDOW); … … 3515 3515 PCVMXVVMCS pVmcs = pVCpu->cpum.GstCtx.hwvirt.vmx.CTX_SUFF(pVmcs); 3516 3516 Assert(pVmcs); 3517 Assert( fIntPending || uVector == 0);3517 Assert(!fIntPending || uVector == 0); 3518 3518 3519 3519 /** @todo NSTVMX: r=ramshankar: Consider standardizing check basic/blanket … … 3653 3653 * See Intel spec. 26.5.1.2 "VM Exits During Event Injection". 3654 3654 */ 3655 if (! pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents)3655 if (!CPUMIsGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx)) 3656 3656 { 3657 3657 /* … … 3668 3668 Assert(!pVCpu->cpum.GstCtx.hwvirt.vmx.fVirtNmiBlocking); 3669 3669 3670 pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents = true;3670 CPUMSetGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx, true); 3671 3671 return VINF_VMX_INTERCEPT_NOT_ACTIVE; 3672 3672 } … … 7117 7117 bool const fEntryIntInfoValid = VMX_ENTRY_INT_INFO_IS_VALID(uEntryIntInfo); 7118 7118 7119 pVCpu->cpum.GstCtx.hwvirt.vmx.fInterceptEvents = !fEntryIntInfoValid;7119 CPUMSetGuestVmxInterceptEvents(&pVCpu->cpum.GstCtx, !fEntryIntInfoValid); 7120 7120 if (fEntryIntInfoValid) 7121 7121 { … … 7443 7443 /* Finally, done. */ 7444 7444 Log3(("%s: cs:rip=%#04x:%#RX64 cr0=%#RX64 (%#RX64) cr4=%#RX64 (%#RX64) efer=%#RX64\n", 7445 pszInstr, pVCpu->cpum.GstCtx.cs.Sel, pVCpu->cpum.GstCtx.rip, pVCpu->cpum.GstCtx.cr0,7446 pVmcs->u64Cr0ReadShadow.u, pVCpu->cpum.GstCtx.cr4, pVmcs->u64Cr4ReadShadow.u,7447 pVCpu->cpum.GstCtx.msrEFER));7445 pszInstr, pVCpu->cpum.GstCtx.cs.Sel, pVCpu->cpum.GstCtx.rip, pVCpu->cpum.GstCtx.cr0, 7446 pVmcs->u64Cr0ReadShadow.u, pVCpu->cpum.GstCtx.cr4, pVmcs->u64Cr4ReadShadow.u, 7447 pVCpu->cpum.GstCtx.msrEFER)); 7448 7448 return VINF_SUCCESS; 7449 7449 }
Note:
See TracChangeset
for help on using the changeset viewer.