Changeset 27789 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 29, 2010 12:57:20 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59443
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VM.cpp
r26653 r27789 1513 1513 NOREF(pVCpu); 1514 1514 1515 int rc = vmR3TrySetState(pVM, "vmR3LiveDoStep1Cleanup", 6,1515 int rc = vmR3TrySetState(pVM, "vmR3LiveDoStep1Cleanup", 8, 1516 1516 VMSTATE_OFF, VMSTATE_OFF_LS, /* 1 */ 1517 1517 VMSTATE_FATAL_ERROR, VMSTATE_FATAL_ERROR_LS, /* 2 */ … … 3184 3184 */ 3185 3185 if (cTransitions == 1) 3186 { 3186 3187 LogRel(("%s: %s -> %s failed, because the VM state is actually %s\n", 3187 3188 pszWho, VMR3GetStateName(enmStateOld), VMR3GetStateName(enmStateNew), VMR3GetStateName(enmStateCur))); 3189 VMSetError(pVM, VERR_VM_INVALID_VM_STATE, RT_SRC_POS, 3190 N_("%s failed because the VM state is %s instead of %s"), 3191 pszWho, VMR3GetStateName(enmStateCur), VMR3GetStateName(enmStateOld)); 3192 AssertMsgFailed(("%s: %s -> %s failed, because the VM state is actually %s\n", 3193 pszWho, VMR3GetStateName(enmStateOld), VMR3GetStateName(enmStateNew), VMR3GetStateName(enmStateCur))); 3194 } 3188 3195 else 3189 3196 { … … 3199 3206 } 3200 3207 LogRel((" failed, because the VM state is actually %s\n", VMR3GetStateName(enmStateCur))); 3208 VMSetError(pVM, VERR_VM_INVALID_VM_STATE, RT_SRC_POS, 3209 N_("%s failed because the current VM state, %s, was not found in the state transition table"), 3210 pszWho, VMR3GetStateName(enmStateCur), VMR3GetStateName(enmStateOld)); 3211 AssertMsgFailed(("%s - state=%s, see release log for full details. Check the cTransitions passed us.\n", 3212 pszWho, VMR3GetStateName(enmStateCur))); 3201 3213 } 3202 3203 VMSetError(pVM, VERR_VM_INVALID_VM_STATE, RT_SRC_POS,3204 N_("%s failed because the VM state is %s instead of %s"),3205 VMR3GetStateName(enmStateCur), VMR3GetStateName(enmStateOld));3206 AssertMsgFailed(("%s: %s -> %s failed, state is actually %s\n",3207 pszWho, VMR3GetStateName(enmStateOld), VMR3GetStateName(enmStateNew), VMR3GetStateName(enmStateCur)));3208 3214 } 3209 3215
Note:
See TracChangeset
for help on using the changeset viewer.