VirtualBox

Changeset 23714 in vbox for trunk/src


Ignore:
Timestamp:
Oct 13, 2009 9:13:43 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53433
Message:

SSM,VBox/err.*: VINF_SSM_DONT_CALL_AGAIN from pfnLiveExec.

File:
1 edited

Legend:

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

    r23709 r23714  
    899899{
    900900    if (uPass == 0)
    901         return ssmR3SelfSaveExec(pVM, pSSM);
    902     return VINF_SUCCESS;
     901    {
     902        int rc = ssmR3SelfSaveExec(pVM, pSSM);
     903        if (RT_SUCCESS(rc))
     904            rc = VINF_SSM_DONT_CALL_AGAIN;
     905        return rc;
     906    }
     907    AssertFailed();
     908    return VERR_INTERNAL_ERROR_3;
    903909}
    904910
     
    44084414            pSSM->rc = rc;
    44094415        else
     4416        {
     4417            if (rc == VINF_SSM_DONT_CALL_AGAIN)
     4418                pUnit->fDoneLive = true;
    44104419            rc = ssmR3DataFlushBuffer(pSSM); /* will return SSMHANDLE::rc if it is set */
     4420        }
    44114421        if (RT_FAILURE(rc))
    44124422        {
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