VirtualBox

Changeset 2905 in vbox


Ignore:
Timestamp:
May 29, 2007 10:42:35 AM (18 years ago)
Author:
vboxsync
Message:

show VM error at least in text console

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp

    r2902 r2905  
    884884        szError[0] = '\0';
    885885    else
    886         RTStrPrintfV(szError, sizeof(szError), pszFormat, args);
     886    {
     887        RTStrPrintf(szError, sizeof(szError),
     888                    "%N!\nVBox status code: %d (%Vrc)", pszFormat, &args, rc, rc);
     889        RTPrintf("%s\n", szError);
     890    }
    887891}
    888892
     
    986990     */
    987991    if (VBOX_FAILURE(rc))
    988     {
    989992        goto failure;
    990     }
     993
    991994    return 0;
    992 
    993995
    994996failure:
     
    10001002    }
    10011003    machineState = VMSTATE_TERMINATED;
     1004
    10021005    return 0;
    10031006}
Note: See TracChangeset for help on using the changeset viewer.

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