Changeset 5264 in vbox
- Timestamp:
- Oct 12, 2007 4:48:19 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 25257
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/EM.cpp
r5249 r5264 2359 2359 } 2360 2360 2361 /* 2361 /* 2362 2362 * Allocate handy pages (just in case the above actions have consumed some pages). 2363 2363 */ … … 3068 3068 } 3069 3069 3070 /* 3070 /* 3071 3071 * Allocate handy pages. 3072 3072 */ … … 3439 3439 case EMSTATE_GURU_MEDITATION: 3440 3440 { 3441 /** @todo this ain't entirely safe. make a better return code check and specify this in DBGF/emR3Debug. */3442 3441 TMVirtualPause(pVM); 3443 3442 TMCpuTickPause(pVM); 3444 3443 VMMR3FatalDump(pVM, rc); 3445 int rc2 = emR3Debug(pVM, rc); 3446 if (rc2 == VERR_DBGF_NOT_ATTACHED || rc2 == VINF_EM_OFF) 3447 { 3448 VMMR3Unlock(pVM); 3449 STAM_REL_PROFILE_ADV_STOP(&pVM->em.s.StatTotal, x); 3450 return rc; 3451 } 3452 TMVirtualResume(pVM); 3453 TMCpuTickResume(pVM); 3454 rc = rc2; 3455 /** @todo we're not doing the right thing in emR3Debug and will cause code to be executed on disconnect and stuff.. */ 3456 Log2(("EMR3ExecuteVM: enmr3Debug -> %Vrc (state %d)\n", rc, pVM->em.s.enmState)); 3457 break; 3444 emR3Debug(pVM, rc); 3445 VMMR3Unlock(pVM); 3446 STAM_REL_PROFILE_ADV_STOP(&pVM->em.s.StatTotal, x); 3447 return rc; 3458 3448 } 3459 3449
Note:
See TracChangeset
for help on using the changeset viewer.