VirtualBox

Ignore:
Timestamp:
Jun 8, 2020 7:51:42 AM (5 years ago)
Author:
vboxsync
Message:

Guest Additions/VBoxTray: Be more verbose when a certain service does not start; added more documentation about how to treat service starting failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r83952 r84720  
    312312        if (RT_FAILURE(rc2))
    313313        {
    314             LogRel(("Failed to initialize service '%s', rc=%Rrc\n", pSvc->pDesc->pszName, rc2));
    315             if (rc2 == VERR_NOT_SUPPORTED)
     314            switch (rc2)
    316315            {
    317                 LogRel(("Service '%s' is not supported on this system\n", pSvc->pDesc->pszName));
    318                 rc2 = VINF_SUCCESS;
     316                case VERR_NOT_SUPPORTED:
     317                    LogRel(("Service '%s' is not supported on this system\n", pSvc->pDesc->pszName));
     318                    rc2 = VINF_SUCCESS; /* Keep going. */
     319                    break;
     320
     321                case VERR_HGCM_SERVICE_NOT_FOUND:
     322                    LogRel(("Service '%s' is not available on the host\n", pSvc->pDesc->pszName));
     323                    rc2 = VINF_SUCCESS; /* Keep going. */
     324                    break;
     325
     326                default:
     327                    LogRel(("Failed to initialize service '%s', rc=%Rrc\n", pSvc->pDesc->pszName, rc2));
     328                    break;
    319329            }
    320             /* Keep going. */
    321330        }
    322331        else
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