VirtualBox

Changeset 86467 in vbox for trunk/src/VBox/Devices/Serial


Ignore:
Timestamp:
Oct 7, 2020 12:53:10 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140773
Message:

Devices/DrvHostSerial: Don't let the I/O loop fail when status line monitoring fails for some reason (some devices don't support it)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Serial/DrvHostSerial.cpp

    r83522 r86467  
    564564
    565565            if (fEvtsRecv & RTSERIALPORT_EVT_F_STATUS_LINE_MONITOR_FAILED)
    566                 LogRel(("HostSerial#%d: Status line monitoring failed at a lower level and is disabled\n", pDrvIns->iInstance));
     566            {
     567                LogRel(("HostSerial#%d: Status line monitoring failed at a lower level with rc=%Rrc and is disabled\n", pDrvIns->iInstance, rc));
     568                rc = VINF_SUCCESS;
     569            }
    567570        }
    568571        else if (rc == VERR_TIMEOUT || rc == VERR_INTERRUPTED)
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