VirtualBox

Ignore:
Timestamp:
Nov 12, 2007 5:06:56 PM (17 years ago)
Author:
vboxsync
Message:

Added an maskedInterface property to the USB filters. It is used to hide a set of interface from the guest, which means that on Linux we won't capture those and linux can continue using them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SessionImpl.cpp

    r4071 r5713  
    606606
    607607STDMETHODIMP Session::OnUSBDeviceAttach (IUSBDevice *aDevice,
    608                                          IVirtualBoxErrorInfo *aError)
    609 {
    610     LogFlowThisFunc (("\n"));
    611 
    612     AutoCaller autoCaller (this);
    613     AssertComRCReturn (autoCaller.rc(), autoCaller.rc());
    614 
    615     AutoReaderLock alock (this);
    616     AssertReturn (mState == SessionState_SessionOpen &&
    617                   mType == SessionType_DirectSession, E_FAIL);
    618 
    619     return mConsole->onUSBDeviceAttach (aDevice, aError);
     608                                         IVirtualBoxErrorInfo *aError,
     609                                         ULONG aMaskedIfs)
     610{
     611    LogFlowThisFunc (("\n"));
     612
     613    AutoCaller autoCaller (this);
     614    AssertComRCReturn (autoCaller.rc(), autoCaller.rc());
     615
     616    AutoReaderLock alock (this);
     617    AssertReturn (mState == SessionState_SessionOpen &&
     618                  mType == SessionType_DirectSession, E_FAIL);
     619
     620    return mConsole->onUSBDeviceAttach (aDevice, aError, aMaskedIfs);
    620621}
    621622
     
    994995#endif
    995996
    996 #if defined(RT_OS_OS2) 
     997#if defined(RT_OS_OS2)
    997998/** VM IPC mutex holder thread */
    998999DECLCALLBACK(int) IPCMutexHolderThread (RTTHREAD Thread, void *pvUser)
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