VirtualBox

Changeset 43299 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Sep 11, 2012 1:36:38 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80718
Message:

GuestCtrl: More error checking.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestProcessImpl.cpp

    r43297 r43299  
    20432043
    20442044            case ProcessWaitResult_Error:
     2045                vrc = VERR_GENERAL_FAILURE; /** @todo Special guest control rc needed! */
     2046                break;
     2047
    20452048            case ProcessWaitResult_Terminate:
     2049                fDone = true;
     2050                break;
     2051
    20462052            case ProcessWaitResult_Timeout:
    2047                 fDone = true;
     2053                vrc = VERR_TIMEOUT;
    20482054                break;
    20492055
     
    21142120    if (!pProcess.isNull())
    21152121    {
     2122        /** @todo Add pProcess.Terminate() here as soon as it's implemented. */
     2123
    21162124        Assert(pSession);
    21172125        int rc2 = pSession->processRemoveFromList(pProcess);
  • trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp

    r43200 r43299  
    936936            case VERR_GENERAL_FAILURE: /** @todo Special guest control rc needed! */
    937937                setProgressErrorMsg(VBOX_E_IPRT_ERROR,
    938                                     GuestProcess::guestErrorToString(vrc));
     938                                    GuestProcess::guestErrorToString(guestRc));
     939                break;
     940
     941            case VERR_INVALID_STATE: /** @todo Special guest control rc needed! */
     942                setProgressErrorMsg(VBOX_E_IPRT_ERROR,
     943                                    Utf8StrFmt(GuestSession::tr("Update file \"%s\" reported invalid running state"),
     944                                               procInfo.mCommand.c_str()));
    939945                break;
    940946
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