儲存庫 vbox 的更動 13542
- 時間撮記:
- 2008-10-23 下午04:25:44 (16 年 以前)
- 位置:
- trunk/src/VBox/VMM
- 檔案:
-
- 修改 4 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/VMM/EM.cpp
r13532 r13542 2378 2378 case VERR_VMX_UNEXPECTED_EXIT_CODE: 2379 2379 case VERR_VMX_INVALID_GUEST_STATE: 2380 case VERR_VMX_UNABLE_TO_START_VM: 2381 case VERR_VMX_UNABLE_TO_RESUME_VM: 2380 2382 HWACCMR3CheckError(pVM, rc); 2381 2383 break; -
trunk/src/VBox/VMM/HWACCM.cpp
r13532 r13542 1042 1042 break; 1043 1043 1044 case VERR_VMX_UNABLE_TO_START_VM: 1045 LogRel(("VERR_VMX_UNABLE_TO_START_VM: instruction error %x\n", pVM->hwaccm.s.vmx.lasterror.ulLastInstrError)); 1046 LogRel(("VERR_VMX_UNABLE_TO_START_VM: exit reason %x\n", pVM->hwaccm.s.vmx.lasterror.ulLastExitReason)); 1047 break; 1048 1049 case VERR_VMX_UNABLE_TO_RESUME_VM: 1050 LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: instruction error %x\n", pVM->hwaccm.s.vmx.lasterror.ulLastInstrError)); 1051 LogRel(("VERR_VMX_UNABLE_TO_RESUME_VM: exit reason %x\n", pVM->hwaccm.s.vmx.lasterror.ulLastExitReason)); 1052 break; 1053 1044 1054 case VERR_VMX_INVALID_VMXON_PTR: 1045 1055 break; -
trunk/src/VBox/VMM/HWACCMInternal.h
r13533 r13542 352 352 uint64_t u64VMCSPhys; 353 353 uint32_t ulVMCSRevision; 354 uint32_t ulLastInstrError; 355 uint32_t ulLastExitReason; 354 356 uint32_t padding; 355 357 } lasterror; -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r13541 r13542 51 51 * Local Functions * 52 52 *******************************************************************************/ 53 #ifdef VBOX_STRICT54 53 static void VMXR0ReportWorldSwitchError(PVM pVM, int rc, PCPUMCTX pCtx); 55 #else56 #define VMXR0ReportWorldSwitchError(a, b, c) do { } while (0);57 #endif /* VBOX_STRICT */58 54 static void vmxR0SetupTLBEPT(PVM pVM); 59 55 static void vmxR0SetupTLBVPID(PVM pVM); … … 3113 3109 } 3114 3110 3115 #ifdef VBOX_STRICT3116 3111 /** 3117 3112 * Report world switch error and dump some useful debug info … … 3140 3135 if (rc == VINF_SUCCESS) 3141 3136 { 3137 Log(("Unable to start/resume VM for reason: %x. Instruction error %x\n", (uint32_t)exitReason, (uint32_t)instrError)); 3138 Log(("Current stack %08x\n", &rc)); 3139 3140 pVM->hwaccm.s.vmx.lasterror.ulLastInstrError = instrError; 3141 pVM->hwaccm.s.vmx.lasterror.ulLastExitReason = exitReason; 3142 3143 #ifdef VBOX_STRICT 3142 3144 RTGDTR gdtr; 3143 3145 PX86DESCHC pDesc; 3144 3146 3145 3147 ASMGetGDTR(&gdtr); 3146 3147 Log(("Unable to start/resume VM for reason: %x. Instruction error %x\n", (uint32_t)exitReason, (uint32_t)instrError));3148 Log(("Current stack %08x\n", &rc));3149 3150 3148 3151 3149 VMXReadVMCS(VMX_VMCS_GUEST_RIP, &val); … … 3251 3249 Log(("VMX_VMCS_HOST_RIP %VHv\n", val)); 3252 3250 3253 # if HC_ARCH_BITS == 643251 # if HC_ARCH_BITS == 64 3254 3252 Log(("MSR_K6_EFER = %VX64\n", ASMRdMsr(MSR_K6_EFER))); 3255 3253 Log(("MSR_K6_STAR = %VX64\n", ASMRdMsr(MSR_K6_STAR))); … … 3257 3255 Log(("MSR_K8_CSTAR = %VX64\n", ASMRdMsr(MSR_K8_CSTAR))); 3258 3256 Log(("MSR_K8_SF_MASK = %VX64\n", ASMRdMsr(MSR_K8_SF_MASK))); 3259 #endif 3257 # endif 3258 #endif /* VBOX_STRICT */ 3260 3259 } 3261 3260 break; … … 3268 3267 } 3269 3268 } 3270 #endif /* VBOX_STRICT */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器