VirtualBox

Ignore:
Timestamp:
May 9, 2010 6:45:46 PM (15 years ago)
Author:
vboxsync
Message:

VBoxService.cpp: better message and a @todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp

    r29202 r29258  
    311311            {
    312312                /*
    313                  * If a service uses some sort of HGCM host service
    314                  * which is not available on the host (maybe because the host
    315                  * is using an older VBox version), just disable that service
    316                  * here.
     313                 * HACK ALERT! If a service uses some sort of HGCM host service
     314                 * which is not available on the host (maybe because the host is
     315                 * using an older VBox version), just disable that service here.
    317316                 */
     317                /** @todo r=bird: This a generic thing that isn't necessarily restricted to
     318                 *        HGCM.  Also, the service knows best whether a host service is required
     319                 *        or optional.  So, there service should either have a way of signalling
     320                 *        non-fatal init failure, or simply quietly pretend to work.  (Low
     321                 *        prio.) */
    318322                if (rc == VERR_HGCM_SERVICE_NOT_FOUND)
    319                 {
    320                     g_aServices[j].fEnabled = false;
    321                     VBoxServiceVerbose(0, "Service '%s' was disabled (because %Rrc)\n",
     323                    VBoxServiceVerbose(0, "Service '%s' failed to find a HGCM service and was disabled\n",
    322324                                       g_aServices[j].pDesc->pszName, rc);
    323                 }
    324325                else
    325326                {
     
    328329                    return rc;
    329330                }
     331                g_aServices[j].fEnabled = false;
    330332            }
    331333        }
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