Changeset 32772 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Sep 27, 2010 12:19:31 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66221
- Location:
- trunk/src/VBox/Additions/common/VBoxService
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceBalloon.cpp
r29543 r32772 376 376 if (rc2 != VERR_TIMEOUT && RT_FAILURE(rc2)) 377 377 { 378 VBoxServiceError(" RTSemEventMultiWait failed; rc2=%Rrc\n", rc2);378 VBoxServiceError("VBoxServiceBalloonWorker: RTSemEventMultiWait failed; rc2=%Rrc\n", rc2); 379 379 rc = rc2; 380 380 break; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r30960 r32772 241 241 idxRegion++; 242 242 } 243 VBoxServiceVerbose(3, "V bglR3RegisterSharedModule %s %s base=%p size=%x cregions=%d\n", pModule->Info.szModule, pModule->szFileVersion, pModule->Info.modBaseAddr, pModule->Info.modBaseSize, idxRegion);243 VBoxServiceVerbose(3, "VBoxServicePageSharingRegisterModule: VbglR3RegisterSharedModule %s %s base=%p size=%x cregions=%d\n", pModule->Info.szModule, pModule->szFileVersion, pModule->Info.modBaseAddr, pModule->Info.modBaseSize, idxRegion); 244 244 #ifdef RT_ARCH_X86 245 245 int rc = VbglR3RegisterSharedModule(pModule->Info.szModule, pModule->szFileVersion, (RTGCPTR32)pModule->Info.modBaseAddr, … … 252 252 // AssertRC(rc); 253 253 if (RT_FAILURE(rc)) 254 VBoxServiceVerbose(3, "V bglR3RegisterSharedModule failed with %d\n", rc);254 VBoxServiceVerbose(3, "VBoxServicePageSharingRegisterModule: VbglR3RegisterSharedModule failed with %d\n", rc); 255 255 256 256 end: … … 352 352 if (hSnapshot == INVALID_HANDLE_VALUE) 353 353 { 354 VBoxServiceVerbose(3, " CreateToolhelp32Snapshot failed with %d\n", GetLastError());354 VBoxServiceVerbose(3, "VBoxServicePageSharingInspectGuest: CreateToolhelp32Snapshot failed with %d\n", GetLastError()); 355 355 return; 356 356 } … … 610 610 if (rc != VERR_TIMEOUT && RT_FAILURE(rc)) 611 611 { 612 VBoxServiceError(" RTSemEventMultiWait failed; rc=%Rrc\n", rc);612 VBoxServiceError("VBoxServicePageSharingWorker: RTSemEventMultiWait failed; rc=%Rrc\n", rc); 613 613 break; 614 614 } … … 699 699 rc = RTProcCreate(pszExeName, papszArgs, RTENV_DEFAULT, 0 /* normal child */, &hProcess); 700 700 if (RT_FAILURE(rc)) 701 VBoxServiceError(" RTProcCreate %s failed; rc=%Rrc\n", pszExeName, rc);701 VBoxServiceError("VBoxServicePageSharingWorkerProcess: RTProcCreate %s failed; rc=%Rrc\n", pszExeName, rc); 702 702 } 703 703 } … … 716 716 if (rc != VERR_TIMEOUT && RT_FAILURE(rc)) 717 717 { 718 VBoxServiceError(" RTSemEventMultiWait failed; rc=%Rrc\n", rc);718 VBoxServiceError("VBoxServicePageSharingWorkerProcess: RTSemEventMultiWait failed; rc=%Rrc\n", rc); 719 719 break; 720 720 } -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceStats.cpp
r29345 r32772 170 170 /** 171 171 * Gathers VM statistics and reports them to the host. 172 *173 * @returns174 * @param oid .175 172 */ 176 173 static void VBoxServiceVMStatsReport(void) … … 237 234 } 238 235 else 239 VBoxServiceVerbose(3, " GetPerformanceInfo failed with %d\n", GetLastError());236 VBoxServiceVerbose(3, "VBoxServiceVMStatsReport: GetPerformanceInfo failed with %d\n", GetLastError()); 240 237 } 241 238 … … 667 664 if (rc2 != VERR_TIMEOUT && RT_FAILURE(rc2)) 668 665 { 669 VBoxServiceError(" RTSemEventMultiWait failed; rc2=%Rrc\n", rc2);666 VBoxServiceError("VBoxServiceVMStatsWorker: RTSemEventMultiWait failed; rc2=%Rrc\n", rc2); 670 667 rc = rc2; 671 668 break; -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceTimeSync.cpp
r32647 r32772 441 441 return; 442 442 if (SetSystemTimeAdjustment(0, TRUE /* Periodic adjustments disabled. */)) 443 VBoxServiceVerbose(3, " Windows Time Adjustment is now disabled.\n");443 VBoxServiceVerbose(3, "VBoxServiceTimeSyncCancelAdjust: Windows Time Adjustment is now disabled.\n"); 444 444 else if (g_cTimeSyncErrors++ < 10) 445 VBoxServiceError(" SetSystemTimeAdjustment(,disable) failed, error=%u\n", GetLastError());445 VBoxServiceError("VBoxServiceTimeSyncCancelAdjust: SetSystemTimeAdjustment(,disable) failed, error=%u\n", GetLastError()); 446 446 #endif /* !RT_OS_WINDOWS */ 447 447 } … … 482 482 } 483 483 else if (g_cTimeSyncErrors++ < 10) 484 VBoxServiceError(" RTTimeSet(%RDtimespec) failed: %Rrc\n", &NewGuestTime, rc);484 VBoxServiceError("VBoxServiceTimeSyncSet: RTTimeSet(%RDtimespec) failed: %Rrc\n", &NewGuestTime, rc); 485 485 } 486 486 … … 516 516 { 517 517 if (g_cTimeSyncErrors++ < 10) 518 VBoxServiceError("V bglR3GetHostTime failed; rc2=%Rrc\n", rc2);518 VBoxServiceError("VBoxServiceTimeSyncWorker: VbglR3GetHostTime failed; rc2=%Rrc\n", rc2); 519 519 break; 520 520 } … … 537 537 if (idNewSession != g_idTimeSyncSession) 538 538 { 539 VBoxServiceVerbose(3, " TimeSync: The VM session ID changed, forcing resync.\n");539 VBoxServiceVerbose(3, "VBoxServiceTimeSyncWorker: The VM session ID changed, forcing resync.\n"); 540 540 TimeSyncSetThreshold = 0; 541 541 g_idTimeSyncSession = idNewSession; … … 559 559 if (g_cVerbosity >= 3) 560 560 { 561 VBoxServiceVerbose(3, " Host: %s (MinAdjust: %RU32 ms)\n",561 VBoxServiceVerbose(3, "VBoxServiceTimeSyncWorker: Host: %s (MinAdjust: %RU32 ms)\n", 562 562 RTTimeToString(RTTimeExplode(&Time, &HostNow), sz, sizeof(sz)), MinAdjust); 563 VBoxServiceVerbose(3, " Guest: - %s => %RDtimespec drift\n",563 VBoxServiceVerbose(3, "VBoxServiceTimeSyncWorker: Guest: - %s => %RDtimespec drift\n", 564 564 RTTimeToString(RTTimeExplode(&Time, &GuestNow), sz, sizeof(sz)), 565 565 &Drift); … … 588 588 break; 589 589 } 590 VBoxServiceVerbose(3, " %RDtimespec: latency too high (%RDtimespec) sleeping 1s\n", GuestElapsed);590 VBoxServiceVerbose(3, "VBoxServiceTimeSyncWorker: %RDtimespec: latency too high (%RDtimespec) sleeping 1s\n", GuestElapsed); 591 591 RTThreadSleep(1000); 592 592 } while (--cTries > 0); … … 608 608 if (rc2 != VERR_TIMEOUT && RT_FAILURE(rc2)) 609 609 { 610 VBoxServiceError(" RTSemEventMultiWait failed; rc2=%Rrc\n", rc2);610 VBoxServiceError("VBoxServiceTimeSyncWorker: RTSemEventMultiWait failed; rc2=%Rrc\n", rc2); 611 611 rc = rc2; 612 612 break; … … 640 640 { 641 641 DWORD dwErr = GetLastError(); 642 VBoxServiceError(" Restoring token privileges (SE_SYSTEMTIME_NAME) failed with code %u!\n", dwErr);642 VBoxServiceError("VBoxServiceTimeSyncTerm: Restoring token privileges (SE_SYSTEMTIME_NAME) failed with code %u!\n", dwErr); 643 643 } 644 644 CloseHandle(g_hTokenProcess);
Note:
See TracChangeset
for help on using the changeset viewer.