Changeset 45481 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 11, 2013 11:09:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45478 r45481 5590 5590 5591 5591 int rc = hmR0VmxSaveGuestState(pVM, pVCpu, pMixedCtx); 5592 Assert(pVCpu->hm.s.vmx.fUpdatedGuestState == VMX_UPDATED_GUEST_ALL); 5592 5593 AssertRC(rc); 5593 5594 … … 5839 5840 } 5840 5841 } 5841 else if (!(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INT_WINDOW_EXIT)) 5842 else if ( !(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INT_WINDOW_EXIT) 5843 && (pVM->hm.s.vmx.msr.vmx_proc_ctls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INT_WINDOW_EXIT)) 5842 5844 { 5843 5845 /* Instruct VT-x to cause an interrupt-window exit as soon as the guest is ready to receive interrupts again. */ … … 6892 6894 6893 6895 /* Indicate that we no longer need to VM-exit when the guest is ready to receive interrupts, it is now ready. */ 6896 Assert(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INT_WINDOW_EXIT); 6894 6897 pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_CONTROLS_INT_WINDOW_EXIT; 6895 6898 int rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_PROC_EXEC_CONTROLS, pVCpu->hm.s.vmx.u32ProcCtls); … … 8753 8756 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_RIP | HM_CHANGED_GUEST_RSP | HM_CHANGED_GUEST_RFLAGS 8754 8757 | HM_CHANGED_VMX_GUEST_APIC_STATE; 8755 8756 8758 TRPMResetTrap(pVCpu); 8757 8759 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitShadowPF); … … 8776 8778 Assert(!pVCpu->hm.s.Event.fPending); 8777 8779 TRPMResetTrap(pVCpu); 8780 Log(("#PF: Injecting #DF\n")); 8778 8781 rc = hmR0VmxInjectXcptDF(pVM, pVCpu, pMixedCtx); 8779 8782 }
Note:
See TracChangeset
for help on using the changeset viewer.