Changeset 15364 in vbox
- Timestamp:
- Dec 12, 2008 1:19:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r15363 r15364 2125 2125 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_VM_INSTR_ERROR, &instrError); 2126 2126 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INSTR_LENGTH, &cbInstr); 2127 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INTERRUPTION_INFO, &val); 2128 intInfo = val; 2129 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INTERRUPTION_ERRCODE, &val); 2130 errCode = val; /* might not be valid; depends on VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID. */ 2131 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INSTR_INFO, &val); 2132 instrInfo = val; 2133 rc |= VMXReadCachedVMCS(VMX_VMCS_RO_EXIT_QUALIFICATION, &val); 2134 exitQualification = val; 2127 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INTERRUPTION_INFO, &intInfo); 2128 /* might not be valid; depends on VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID. */ 2129 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INTERRUPTION_ERRCODE, &errCode); 2130 rc |= VMXReadCachedVMCS(VMX_VMCS32_RO_EXIT_INSTR_INFO, &instrInfo); 2131 rc |= VMXReadCachedVMCS(VMX_VMCS_RO_EXIT_QUALIFICATION, &exitQualification); 2135 2132 AssertRC(rc); 2136 2133 … … 2184 2181 2185 2182 Log2(("E%d", exitReason)); 2186 Log2(("Exit reason %d, exitQualification %RGv\n", exitReason, exitQualification));2187 Log2(("instrInfo=%d instrError=%d instr length=%d\n", instrInfo, instrError,cbInstr));2188 Log2(("Interruption error code %d\n", errCode));2189 Log2(("IntInfo = %08x\n", intInfo));2183 Log2(("Exit reason %d, exitQualification %RGv\n", (uint32_t)exitReason, exitQualification)); 2184 Log2(("instrInfo=%d instrError=%d instr length=%d\n", (uint32_t)instrInfo, (uint32_t)instrError, (uint32_t)cbInstr)); 2185 Log2(("Interruption error code %d\n", (uint32_t)errCode)); 2186 Log2(("IntInfo = %08x\n", (uint32_t)intInfo)); 2190 2187 Log2(("New EIP=%RGv\n", (RTGCPTR)pCtx->rip)); 2191 2188 … … 3566 3563 rc = pVM->hwaccm.s.pfnHost32ToGuest64R0(pVM); 3567 3564 3565 #ifdef VBOX_STRICT 3566 RTHCUINTREG uFlagsTest = ASMGetFlags(); 3567 #endif 3568 3568 3569 ASMSetFlags(uFlags); 3569 3570 … … 3582 3583 3583 3584 VMXActivateVMCS(pVCpu->hwaccm.s.vmx.pVMCSPhys); 3585 Assert(!(uFlagsTest & X86_EFL_IF)); 3584 3586 return rc; 3585 3587 }
Note:
See TracChangeset
for help on using the changeset viewer.