Changeset 58031 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Oct 5, 2015 9:01:30 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 103082
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxService.cpp
r58029 r58031 430 430 if (s_enmLastStatus != VBoxGuestFacilityStatus_Failed) 431 431 { 432 int rc = VbglR3ReportAdditionsStatus(VBoxGuestFacilityType_VBoxService, 433 enmStatus, 0 /* Flags */); 432 int rc = VbglR3ReportAdditionsStatus(VBoxGuestFacilityType_VBoxService, enmStatus, 0 /* Flags */); 434 433 if (RT_FAILURE(rc)) 435 434 { … … 620 619 if (rc != VERR_SERVICE_DISABLED) 621 620 { 622 VGSvcError("Service '%s' failed to initialize: %Rrc\n", 623 g_aServices[j].pDesc->pszName, rc); 621 VGSvcError("Service '%s' failed to initialize: %Rrc\n", g_aServices[j].pDesc->pszName, rc); 624 622 VGSvcReportStatus(VBoxGuestFacilityStatus_Failed); 625 623 return rc; … … 817 815 ); 818 816 819 VGSvcVerbose(3, "V BoxServiceMainWait: Received signal %d (rc=%d)\n", iSignal, rc);817 VGSvcVerbose(3, "VGSvcMainWait: Received signal %d (rc=%d)\n", iSignal, rc); 820 818 #endif /* !RT_OS_WINDOWS */ 821 819 } -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceBalloon.cpp
r58029 r58031 164 164 return VINF_SUCCESS; 165 165 166 VGSvcVerbose(3, " VBoxServiceBalloonSetUser: cNewChunks=%u g_cMemBalloonChunks=%u\n", cNewChunks, g_cMemBalloonChunks);166 VGSvcVerbose(3, "vgsvcBalloonSetUser: cNewChunks=%u g_cMemBalloonChunks=%u\n", cNewChunks, g_cMemBalloonChunks); 167 167 int rc = VINF_SUCCESS; 168 168 if (cNewChunks > g_cMemBalloonChunks) … … 197 197 } 198 198 } 199 VGSvcVerbose(3, " VBoxServiceBalloonSetUser: inflation complete. chunks=%u rc=%d\n", i, rc);199 VGSvcVerbose(3, "vgsvcBalloonSetUser: inflation complete. chunks=%u rc=%d\n", i, rc); 200 200 } 201 201 else … … 219 219 else 220 220 break; 221 VGSvcVerbose(3, " VBoxServiceBalloonSetUser: deflation complete. chunks=%u rc=%d\n", i, rc);221 VGSvcVerbose(3, "vgsvcBalloonSetUser: deflation complete. chunks=%u rc=%d\n", i, rc); 222 222 } 223 223 } … … 232 232 static DECLCALLBACK(int) vgsvcBalloonInit(void) 233 233 { 234 VGSvcVerbose(3, " VBoxServiceBalloonInit\n");234 VGSvcVerbose(3, "vgsvcBalloonInit\n"); 235 235 236 236 int rc = RTSemEventMultiCreate(&g_MemBalloonEvent); … … 247 247 if (RT_SUCCESS(rc)) 248 248 { 249 VGSvcVerbose(3, "MemBalloon: New balloon size %d MB (%s memory)\n", 250 cNewChunks, fHandleInR3 ? "R3" : "R0"); 249 VGSvcVerbose(3, "MemBalloon: New balloon size %d MB (%s memory)\n", cNewChunks, fHandleInR3 ? "R3" : "R0"); 251 250 if (fHandleInR3) 252 251 rc = vgsvcBalloonSetUser(cNewChunks); … … 303 302 if (RT_FAILURE(rc)) 304 303 { 305 VGSvcVerbose(3, " VBoxServiceBalloonWorker: VbglR3CtlFilterMask failed with %Rrc\n", rc);304 VGSvcVerbose(3, "vgsvcBalloonInit: VbglR3CtlFilterMask failed with %Rrc\n", rc); 306 305 return rc; 307 306 } … … 330 329 if (RT_SUCCESS(rc)) 331 330 { 332 VGSvcVerbose(3, "VBoxServiceBalloonWorker: new balloon size %d MB (%s memory)\n", 333 cNewChunks, fHandleInR3 ? "R3" : "R0"); 331 VGSvcVerbose(3, "vgsvcBalloonInit: new balloon size %d MB (%s memory)\n", cNewChunks, fHandleInR3 ? "R3" : "R0"); 334 332 if (fHandleInR3) 335 333 { … … 337 335 if (RT_FAILURE(rc)) 338 336 { 339 VGSvcVerbose(3, " VBoxServiceBalloonWorker: failed to set balloon size %d MB (%s memory)\n",340 cNewChunks, fHandleInR3 ? "R3" : "R0");337 VGSvcVerbose(3, "vgsvcBalloonInit: failed to set balloon size %d MB (%s memory)\n", 338 cNewChunks, fHandleInR3 ? "R3" : "R0"); 341 339 } 342 340 else 343 VGSvcVerbose(3, " VBoxServiceBalloonWorker: successfully set requested balloon size %d.\n", cNewChunks);341 VGSvcVerbose(3, "vgsvcBalloonInit: successfully set requested balloon size %d.\n", cNewChunks); 344 342 } 345 343 else … … 347 345 } 348 346 else 349 VGSvcVerbose(3, " VBoxServiceBalloonWorker: VbglR3MemBalloonRefresh failed with %Rrc\n", rc);347 VGSvcVerbose(3, "vgsvcBalloonInit: VbglR3MemBalloonRefresh failed with %Rrc\n", rc); 350 348 } 351 349 … … 363 361 if (rc2 != VERR_TIMEOUT && RT_FAILURE(rc2)) 364 362 { 365 VGSvcError(" VBoxServiceBalloonWorker: RTSemEventMultiWait failed; rc2=%Rrc\n", rc2);363 VGSvcError("vgsvcBalloonInit: RTSemEventMultiWait failed; rc2=%Rrc\n", rc2); 366 364 rc = rc2; 367 365 break; … … 372 370 rc = VbglR3CtlFilterMask(0, VMMDEV_EVENT_BALLOON_CHANGE_REQUEST); 373 371 if (RT_FAILURE(rc)) 374 VGSvcVerbose(3, " VBoxServiceBalloonWorker: VbglR3CtlFilterMask failed with %Rrc\n", rc);372 VGSvcVerbose(3, "vgsvcBalloonInit: VbglR3CtlFilterMask failed with %Rrc\n", rc); 375 373 376 374 RTSemEventMultiDestroy(g_MemBalloonEvent); 377 375 g_MemBalloonEvent = NIL_RTSEMEVENTMULTI; 378 376 379 VGSvcVerbose(3, " VBoxServiceBalloonWorker: finished mem balloon change request thread\n");380 return 0;377 VGSvcVerbose(3, "vgsvcBalloonInit: finished mem balloon change request thread\n"); 378 return VINF_SUCCESS; 381 379 } 382 380 -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r58029 r58031 968 968 #endif 969 969 #ifdef DEBUG 970 VGSvcVerbose(3, " VBoxServiceControlExecMakeFullPath: %s -> %s\n", pszPath, pszExpanded);970 VGSvcVerbose(3, "vgsvcGstCtrlProcessMakeFullPath: %s -> %s\n", pszPath, pszExpanded); 971 971 #endif 972 972 return rc; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceUtils.cpp
r58029 r58031 243 243 244 244 /** 245 * Helper for VBoxServiceGetFileVersion and attempts to read and parse245 * Helper for vgsvcUtilGetFileVersion and attempts to read and parse 246 246 * FileVersion. 247 247 * -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r58029 r58031 513 513 * @returns VBox status code. 514 514 * @param ppaProcs Where to return the process snapshot. This must be 515 * freed by calling VBoxServiceVMInfoWinProcessesFree.515 * freed by calling vgsvcVMInfoWinProcessesFree. 516 516 * 517 517 * @param pcProcs Where to store the returned process count. -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp
r58029 r58031 424 424 if (RT_SUCCESS(rc)) 425 425 rc = VGSvcPropCacheUpdate(pCache, pszName, pszValue); 426 if (rc == VINF_SUCCESS) /* V BoxServicePropCacheUpdate will also return VINF_NO_CHANGE. */426 if (rc == VINF_SUCCESS) /* VGSvcPropCacheUpdate will also return VINF_NO_CHANGE. */ 427 427 { 428 428 /** @todo Combine updating flags w/ updating the actual value. */
Note:
See TracChangeset
for help on using the changeset viewer.