VirtualBox

Changeset 5264 in vbox


Ignore:
Timestamp:
Oct 12, 2007 4:48:19 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25257
Message:

Quit unconditionally on a guru meditation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r5249 r5264  
    23592359    }
    23602360
    2361     /* 
     2361    /*
    23622362     * Allocate handy pages (just in case the above actions have consumed some pages).
    23632363     */
     
    30683068        }
    30693069
    3070         /* 
     3070        /*
    30713071         * Allocate handy pages.
    30723072         */
     
    34393439                case EMSTATE_GURU_MEDITATION:
    34403440                {
    3441                     /** @todo this ain't entirely safe. make a better return code check and specify this in DBGF/emR3Debug. */
    34423441                    TMVirtualPause(pVM);
    34433442                    TMCpuTickPause(pVM);
    34443443                    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;
    34583448                }
    34593449
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette