Changeset 52172 in vbox
- Timestamp:
- Jul 24, 2014 4:11:50 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 95219
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r52166 r52172 2456 2456 } 2457 2457 2458 /* If we're using virtual NMIs, we need the NMI-window exiting feature. */2459 if ( (pVCpu->hm.s.vmx.u32PinCtls & VMX_VMCS_CTRL_PIN_EXEC_VIRTUAL_NMI)2460 && (pVM->hm.s.vmx.Msrs.VmxProcCtls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_NMI_WINDOW_EXIT))2461 {2462 val |= VMX_VMCS_CTRL_PROC_EXEC_NMI_WINDOW_EXIT;2463 }2464 2465 2458 /* Use the secondary processor-based VM-execution controls if supported by the CPU. */ 2466 2459 if (pVM->hm.s.vmx.Msrs.VmxProcCtls.n.allowed1 & VMX_VMCS_CTRL_PROC_EXEC_USE_SECONDARY_EXEC_CTRL) … … 3504 3497 { 3505 3498 /* 3506 * Instructions like STI and MOV SS inhibit interrupts till the next instruction completes. Check if we should 3507 * inhibit interrupts or clear any existing interrupt-inhibition. 3499 * Check if we should inhibit interrupt delivery due to instructions like STI and MOV SS. 3508 3500 */ 3509 3501 uint32_t uIntrState = 0; … … 6145 6137 Assert(VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)); 6146 6138 } 6139 else if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)) 6140 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS); 6147 6141 6148 6142 if (uIntrState & VMX_VMCS_GUEST_INTERRUPTIBILITY_STATE_BLOCK_NMI)
Note:
See TracChangeset
for help on using the changeset viewer.