Changeset 29258 in vbox for trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
- Timestamp:
- May 9, 2010 6:45:46 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r29202 r29258 311 311 { 312 312 /* 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. 317 316 */ 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.) */ 318 322 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", 322 324 g_aServices[j].pDesc->pszName, rc); 323 }324 325 else 325 326 { … … 328 329 return rc; 329 330 } 331 g_aServices[j].fEnabled = false; 330 332 } 331 333 }
Note:
See TracChangeset
for help on using the changeset viewer.