VirtualBox

Changeset 43839 in vbox for trunk/src


Ignore:
Timestamp:
Nov 8, 2012 12:31:07 PM (12 years ago)
Author:
vboxsync
Message:

VBoxUsb/win: Earlier we assumed that 1 request will be pending while we service Device Power IRP which was leading to host hang when USB is connected
to VM.
With debugging found that at the point when host goes to sleep
state and USB is connected to VM, two Power IRP requests are pending :
One for SYSTEM and other for DEVICE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbDev.h

    r36998 r43839  
    192192static DECLHIDDEN(VOID) vboxUsbDdiStateWaitOtherCompleted(PVBOXUSBDEV_EXT pDevExt)
    193193{
    194     VBoxDrvToolRefWaitEqual(&pDevExt->DdiState.Ref, 2);
     194    /* Earlier we assumed that 1 request will be pending while we service
     195       Device Power IRP which was leading to host hang when USB is connected
     196       to VM.
     197       With debugging found that at the point when host goes to sleep
     198       state and USB is connected to VM,  two Power IRP requests are pending :
     199       One for SYSTEM and other for DEVICE.
     200    */
     201    VBoxDrvToolRefWaitEqual(&pDevExt->DdiState.Ref, 3);
    195202}
    196203
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