Changeset 48421 in vbox
- Timestamp:
- Sep 11, 2013 9:23:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48407 r48421 6912 6912 6913 6913 /** 6914 * Clears the current event in the VMCS. 6914 * Clears the interrupt-window exiting control in the VMCS and if necessary 6915 * clears the current event in the VMCS as well. 6915 6916 * 6916 6917 * @returns VBox status code. … … 6923 6924 static void hmR0VmxClearEventVmcs(PVMCPU pVCpu) 6924 6925 { 6926 int rc; 6927 6928 /* Clear interrupt-window exiting control. */ 6929 if (pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_PROC_EXEC_INT_WINDOW_EXIT) 6930 { 6931 pVCpu->hm.s.vmx.u32ProcCtls &= ~VMX_VMCS_CTRL_PROC_EXEC_INT_WINDOW_EXIT; 6932 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_PROC_EXEC, pVCpu->hm.s.vmx.u32ProcCtls); 6933 AssertRC(rc); 6934 } 6935 6925 6936 if (!pVCpu->hm.s.Event.fPending) 6926 6937 return; … … 6928 6939 #ifdef VBOX_STRICT 6929 6940 uint32_t u32EntryInfo; 6930 int rc2= VMXReadVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, &u32EntryInfo);6931 AssertRC(rc 2);6941 rc = VMXReadVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, &u32EntryInfo); 6942 AssertRC(rc); 6932 6943 Assert(VMX_ENTRY_INTERRUPTION_INFO_VALID(u32EntryInfo)); 6933 6944 #endif 6934 6945 6935 6946 /* Clear the entry-interruption field (including the valid bit). */ 6936 intrc = VMXWriteVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, 0);6947 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, 0); 6937 6948 AssertRC(rc); 6938 6949
Note:
See TracChangeset
for help on using the changeset viewer.