VirtualBox

Changeset 84842 in vbox


Ignore:
Timestamp:
Jun 16, 2020 9:26:41 AM (5 years ago)
Author:
vboxsync
Message:

Guest Control/VbglR3: Temporary thrown more diagnostics into VbglR3GuestCtrlProcGetStart(). Needs to be backed out later again. bugref:9320.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp

    r84839 r84842  
    12751275    const unsigned cGrowthFactor = 2;  /* By how much the buffers will grow if they're too small yet. */
    12761276
    1277     LogRel(("VbglR3GuestCtrlProcGetStart: Start\n"));
    1278 
    1279     do
    1280     {
     1277    do
     1278    {
     1279        LogRel(("VbglR3GuestCtrlProcGetStart: Retrieving\n"));
     1280
    12811281        HGCMMsgProcExec Msg;
    12821282        VBGL_HGCM_HDR_INIT(&Msg.hdr, pCtx->uClientID, vbglR3GuestCtrlGetMsgFunctionNo(pCtx->uClientID), pCtx->uNumParms);
     
    13061306        if (RT_FAILURE(rc))
    13071307        {
    1308             LogRel(("VbglR3GuestCtrlProcGetStart: Got %Rrc\n", rc));
     1308            LogRel(("VbglR3GuestCtrlProcGetStart: 1 - %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
     1309                    rc, cRetries, pStartupInfo->cbCmd, pStartupInfo->cbArgs, pStartupInfo->cbEnv));
    13091310
    13101311            if (   rc == VERR_BUFFER_OVERFLOW
     
    13231324
    13241325#undef GROW_STR
    1325                 LogRel(("VbglR3GuestCtrlProcGetStart: %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
     1326                LogRel(("VbglR3GuestCtrlProcGetStart: 2 - %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
    13261327                        rc, cRetries, pStartupInfo->cbCmd, pStartupInfo->cbArgs, pStartupInfo->cbEnv));
    13271328                LogRel(("g_fVbglR3GuestCtrlHavePeekGetCancel=%d\n", g_fVbglR3GuestCtrlHavePeekGetCancel));
    13281329
    13291330                /* Only try another round if we can peek for the next bigger size; otherwise bail out on the bottom. */
    1330                 if (g_fVbglR3GuestCtrlHavePeekGetCancel)
     1331                if (RT_BOOL(g_fVbglR3GuestCtrlHavePeekGetCancel))
    13311332                    continue;
    13321333            }
     
    13591360        VbglR3GuestCtrlProcStartupInfoFree(pStartupInfo);
    13601361
    1361     LogRel(("VbglR3GuestCtrlProcGetStart: Returning %Rrc\n", rc));
     1362    LogRel(("VbglR3GuestCtrlProcGetStart: Returning %Rrc (retry %u, cbCmd=%RU32, cbArgs=%RU32, cbEnv=%RU32)\n",
     1363            rc, cRetries, pStartupInfo->cbCmd, pStartupInfo->cbArgs, pStartupInfo->cbEnv));
    13621364
    13631365    LogFlowFuncLeaveRC(rc);
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