VirtualBox

Ignore:
Timestamp:
Nov 29, 2018 2:22:10 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127006
Message:

VBoxService: Started using the new PEEK and GET message functions. bugref:9313

File:
1 edited

Legend:

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

    r75798 r75803  
    195195    } while (rc == VERR_INTERRUPTED);
    196196
    197     LogRel2(("vbglR3GuestCtrlDetectPeekGetCancelSupport: rc=%Rrc %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x\n",
     197    LogRel(("vbglR3GuestCtrlDetectPeekGetCancelSupport: rc=%Rrc %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x %#x\n",
    198198             rc, PeekCall.idMsg.u.value32,     PeekCall.cParams.u.value32,
    199199             PeekCall.acbParams[ 0].u.value32, PeekCall.acbParams[ 1].u.value32,
     
    205205             PeekCall.acbParams[12].u.value32, PeekCall.acbParams[13].u.value32));
    206206
    207 #if 0 /* enable after testing. */
    208207    /*
    209208     * VERR_TRY_AGAIN is likely and easy.
     
    241240        return true;
    242241    }
    243 #endif
    244242
    245243    /*
    246      * If we get an invalid handle status, we can't really tell.
     244     * Okay, pretty sure it's not supported then.
    247245     */
    248     if (rc != VERR_INVALID_HANDLE)
    249     {
    250         LogRel(("vbglR3GuestCtrlDetectPeekGetCancelSupport: Not supported (#3)\n"));
    251         g_fVbglR3GuestCtrlHavePeekGetCancel = 0;
    252     }
    253     else
    254         LogRel(("vbglR3GuestCtrlDetectPeekGetCancelSupport: Jury is still out (#4)\n"));
     246    LogRel(("vbglR3GuestCtrlDetectPeekGetCancelSupport: Not supported (#3)\n"));
     247    g_fVbglR3GuestCtrlHavePeekGetCancel = 0;
    255248    return false;
    256249}
     
    336329     * Fallback if host < v6.0.
    337330     */
    338     return vbglR3GuestCtrlMsgWaitFor(idClient, pidMsg, pcParameters);
     331    rc = vbglR3GuestCtrlMsgWaitFor(idClient, pidMsg, pcParameters);
     332    if (rc == VERR_TOO_MUCH_DATA)
     333        rc = VINF_SUCCESS;
     334    return rc;
    339335}
    340336
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