Changeset 30794 in vbox
- Timestamp:
- Jul 12, 2010 12:55:41 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63600
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r30778 r30794 576 576 { 577 577 case PROC_STS_STARTED: 578 LogRel(("Guest process (PID %u) started\n", pCBData->u32PID)); /** @todo Add process name */ 578 579 hr = it->second.pProgress->SetNextOperation(BstrFmt(tr("Waiting for process to exit ...")), 1 /* Weight */); 579 580 AssertComRC(hr); … … 581 582 582 583 case PROC_STS_TEN: /* Terminated normally. */ 584 LogRel(("Guest process (PID %u) exited normally\n", pCBData->u32PID)); /** @todo Add process name */ 583 585 hr = it->second.pProgress->notifyComplete(S_OK); 584 586 AssertComRC(hr); … … 588 590 589 591 case PROC_STS_TEA: /* Terminated abnormally. */ 592 LogRel(("Guest process (PID %u) terminated abnormally with exit code = %u\n", 593 pCBData->u32PID, pCBData->u32Flags)); /** @todo Add process name */ 590 594 errMsg = Utf8StrFmt(Guest::tr("Process terminated abnormally with status '%u'"), 591 595 pCBData->u32Flags); … … 593 597 594 598 case PROC_STS_TES: /* Terminated through signal. */ 599 LogRel(("Guest process (PID %u) terminated through signal with exit code = %u\n", 600 pCBData->u32PID, pCBData->u32Flags)); /** @todo Add process name */ 595 601 errMsg = Utf8StrFmt(Guest::tr("Process terminated via signal with status '%u'"), 596 602 pCBData->u32Flags); … … 598 604 599 605 case PROC_STS_TOK: 606 LogRel(("Guest process (PID %u) timed out and was killed\n", pCBData->u32PID)); /** @todo Add process name */ 600 607 errMsg = Utf8StrFmt(Guest::tr("Process timed out and was killed")); 601 608 break; 602 609 603 610 case PROC_STS_TOA: 611 LogRel(("Guest process (PID %u) timed out and could not be killed\n", pCBData->u32PID)); /** @todo Add process name */ 604 612 errMsg = Utf8StrFmt(Guest::tr("Process timed out and could not be killed")); 605 613 break; 606 614 607 615 case PROC_STS_DWN: 616 LogRel(("Guest process (PID %u) exited because system is shutting down\n", pCBData->u32PID)); /** @todo Add process name */ 608 617 errMsg = Utf8StrFmt(Guest::tr("Process exited because system is shutting down")); 609 618 break; 610 619 611 620 case PROC_STS_ERROR: 621 LogRel(("Guest process (PID %u) could not be started because of rc=%Rrc\n", 622 pCBData->u32PID, pCBData->u32Flags)); /** @todo Add process name */ 612 623 errMsg = Utf8StrFmt(Guest::tr("Process execution failed with rc=%Rrc"), pCBData->u32Flags); 613 624 break; … … 963 974 } 964 975 } 976 977 LogRel(("Executing guest process \"%s\" as user \"%s\" ...\n", 978 Utf8Command.raw(), Utf8UserName.raw())); 965 979 966 980 if (RT_SUCCESS(vrc)) … … 1170 1184 RTMemFree(papszArgv); 1171 1185 } 1186 1187 if (RT_FAILURE(rc)) 1188 LogRel(("Executing guest process \"%s\" as user \"%s\" failed with %Rrc\n", 1189 Utf8Command.raw(), Utf8UserName.raw(), vrc)); 1172 1190 } 1173 1191 catch (std::bad_alloc &)
Note:
See TracChangeset
for help on using the changeset viewer.