VirtualBox

Changeset 92078 in vbox


Ignore:
Timestamp:
Oct 26, 2021 12:06:54 PM (3 years ago)
Author:
vboxsync
Message:

VMNet: bugref:9932 Time out in 10 seconds when connecting to VMNet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvVMNet.m

    r91873 r92078  
    389389        dispatch_semaphore_signal(operation_done);
    390390    });
    391     dispatch_semaphore_wait(operation_done, DISPATCH_TIME_FOREVER);
     391    dispatch_semaphore_wait(operation_done, dispatch_time(DISPATCH_TIME_NOW, RT_NS_10SEC));
    392392
    393393    if (vmnet_status != VMNET_SUCCESS)
     
    422422            rc = vmnet_read(pThis->Interface, &packets, &packet_count);
    423423            if (rc != VMNET_SUCCESS)
    424                 Log(("Failed to read packets, rc=%d\n", rc));
     424                Log(("Failed to read packets with error code %d\n", rc));
    425425            else
    426426            {
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