Changeset 47089 in vbox
- Timestamp:
- Jul 11, 2013 11:29:17 AM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r47080 r47089 3050 3050 default: 3051 3051 AssertMsgFailed(("hmR0SvmHandleExit: Unexpected exit caused by exception %#x\n", Event.n.u8Vector)); 3052 pVCpu->hm.s.u32HMError = Event.n.u8Vector; 3052 3053 return VERR_SVM_UNEXPECTED_XCPT_EXIT; 3053 3054 } … … 3062 3063 { 3063 3064 AssertMsgFailed(("hmR0SvmHandleExit: Unknown exit code %#x\n", u32ExitCode)); 3065 pVCpu->hm.s.u32HMError = u32ExitCode; 3064 3066 return VERR_SVM_UNKNOWN_EXIT; 3065 3067 } … … 3347 3349 3348 3350 default: 3349 AssertMsgFailedReturn(("Unexpected patch type %d\n", pPatch->enmType), VERR_SVM_UNEXPECTED_PATCH_TYPE); 3350 break; 3351 AssertMsgFailed(("Unexpected patch type %d\n", pPatch->enmType)); 3352 pVCpu->hm.s.u32HMError = pPatch->enmType; 3353 return VERR_SVM_UNEXPECTED_PATCH_TYPE; 3351 3354 } 3352 3355 } -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r47069 r47089 2974 2974 case VERR_VMX_INVALID_VMXON_PTR: 2975 2975 break; 2976 2977 case VERR_SVM_UNKNOWN_EXIT: 2978 case VERR_SVM_UNEXPECTED_EXIT: 2979 case VERR_SVM_UNEXPECTED_PATCH_TYPE: 2980 case VERR_SVM_UNEXPECTED_XCPT_EXIT: 2981 LogRel(("HM: CPU%d HM error %#x\n", i, pVM->aCpus[i].hm.s.u32HMError)); 2982 break; 2976 2983 } 2977 2984 } -
trunk/src/VBox/VMM/include/EMHandleRCTmpl.h
r46420 r47089 347 347 case VERR_VMX_INVALID_GUEST_STATE: 348 348 case VERR_VMX_UNABLE_TO_START_VM: 349 case VERR_SVM_UNKNOWN_EXIT: 350 case VERR_SVM_UNEXPECTED_EXIT: 351 case VERR_SVM_UNEXPECTED_PATCH_TYPE: 352 case VERR_SVM_UNEXPECTED_XCPT_EXIT: 349 353 HMR3CheckError(pVM, rc); 350 354 break; -
trunk/src/VBox/VMM/include/HMInternal.h
r46945 r47089 544 544 /** HM_CHANGED_* flags. */ 545 545 uint32_t fContextUseFlags; 546 /** Id of the last cpu we were executing code on (NIL_RTCPUID for the first time) */ 546 /** Id of the last cpu we were executing code on (NIL_RTCPUID for the first 547 * time). */ 547 548 RTCPUID idLastCpu; 548 /** TLB flush count */549 /** TLB flush count. */ 549 550 uint32_t cTlbFlushes; 550 /** Current ASID in use by the VM */551 /** Current ASID in use by the VM. */ 551 552 uint32_t uCurrentAsid; 552 uint32_t u32Alignment; 553 /** An additional error code used for some gurus. */ 554 uint32_t u32HMError; 553 555 554 556 /** Host's TSC_AUX MSR (used when RDTSCP doesn't cause VM-exits). */
Note:
See TracChangeset
for help on using the changeset viewer.