VirtualBox

Ignore:
Timestamp:
Dec 14, 2015 2:04:37 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104688
Message:

USB,Main: Rework USBProxyService. Split it into a USBProxyService and USBProxyBackend class, USBProxyService can use multiple USBProxyBackend instances as sources for USB devices to attach to a VM which will be used for USB/IP support. Change the PDM USB API to contain a backend parameter instead of a remote flag to indicate the USB backend to use for the given device.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp

    r59116 r59117  
    7272 * @returns S_OK on success and non-fatal failures, some COM error otherwise.
    7373 */
    74 HRESULT USBProxyServiceFreeBSD::init(void)
     74int USBProxyServiceFreeBSD::init(void)
    7575{
    7676    /*
     
    7979    int rc = RTSemEventCreate(&mNotifyEventSem);
    8080    if (RT_FAILURE(rc))
    81     {
    82         mLastError = rc;
    83         return E_FAIL;
    84     }
     81        return rc;
    8582
    8683    /*
     
    8885     */
    8986    start();
    90     return S_OK;
     87    return VINF_SUCCESS;
    9188}
    9289
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