- 時間撮記:
- 2014-4-16 下午05:57:25 (11 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r50919 r51092 1142 1142 if (RT_SUCCESS(rc)) 1143 1143 { 1144 switch (u32GuestFlags & (VMMDEV_CREDENTIALS_JUDGE_OK | VMMDEV_CREDENTIALS_JUDGE_DENY | VMMDEV_CREDENTIALS_JUDGE_NOJUDGEMENT)) 1144 switch (u32GuestFlags & (VMMDEV_CREDENTIALS_JUDGE_OK | VMMDEV_CREDENTIALS_JUDGE_DENY | 1145 VMMDEV_CREDENTIALS_JUDGE_NOJUDGEMENT)) 1145 1146 { 1146 1147 case VMMDEV_CREDENTIALS_JUDGE_DENY: guestJudgement = AuthGuestAccessDenied; break; … … 1209 1210 AssertComRCReturn(hrc, VERR_ACCESS_DENIED); 1210 1211 1211 LogFlowFunc(("allowMultiConnection %d, reuseSingleConnection = %d, mcVRDPClients = %d, mu32SingleRDPClientId = %d\n", allowMultiConnection, reuseSingleConnection, mcVRDPClients, mu32SingleRDPClientId)); 1212 LogFlowFunc(("allowMultiConnection %d, reuseSingleConnection = %d, mcVRDPClients = %d, mu32SingleRDPClientId = %d\n", 1213 allowMultiConnection, reuseSingleConnection, mcVRDPClients, mu32SingleRDPClientId)); 1212 1214 1213 1215 if (allowMultiConnection == FALSE) … … 4287 4289 { 4288 4290 VMSTATE enmVMState = VMR3GetStateU(ptrVM.rawUVM()); 4289 if ( enmVMState == VMSTATE_RUNNING /** @todo LiveMigration: Forbid or deal correctly with the _LS variants */ 4291 if ( enmVMState == VMSTATE_RUNNING /** @todo LiveMigration: Forbid or deal 4292 correctly with the _LS variants */ 4290 4293 || enmVMState == VMSTATE_SUSPENDED) 4291 4294 { … … 6731 6734 vrc = RTDirCreateFullPath(pszDumpDir, 0700); 6732 6735 if (RT_FAILURE(vrc)) 6733 throw setError(E_FAIL, "Failed to setup CoreDumper. Couldn't create dump directory '%s' (%Rrc)\n", pszDumpDir, vrc); 6736 throw setError(E_FAIL, "Failed to setup CoreDumper. Couldn't create dump directory '%s' (%Rrc)\n", 6737 pszDumpDir, vrc); 6734 6738 } 6735 6739 … … 7898 7902 7899 7903 default: 7900 AssertMsgFailed(("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7904 AssertMsgFailed(("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), 7905 VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7901 7906 that->setMachineState(MachineState_Paused); 7902 7907 break; … … 7937 7942 AssertMsg( that->mMachineState == MachineState_LiveSnapshotting 7938 7943 || that->mMachineState == MachineState_Teleporting, 7939 ("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7944 ("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), 7945 VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7940 7946 break; 7941 7947 7942 7948 case VMSTATE_RUNNING_FT: 7943 7949 AssertMsg(that->mMachineState == MachineState_FaultTolerantSyncing, 7944 ("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7950 ("%s/%s -> %s\n", Global::stringifyMachineState(that->mMachineState), 7951 VMR3GetStateName(enmOldState), VMR3GetStateName(enmState) )); 7945 7952 break; 7946 7953 … … 8702 8709 { 8703 8710 LogFlowThisFuncEnter(); 8704 LogFlowThisFunc(("u32ClientId = %d, pDevList=%p, cbDevList = %d, fDescExt = %d\n", u32ClientId, pDevList, cbDevList, fDescExt)); 8711 LogFlowThisFunc(("u32ClientId = %d, pDevList=%p, cbDevList = %d, fDescExt = %d\n", 8712 u32ClientId, pDevList, cbDevList, fDescExt)); 8705 8713 8706 8714 AutoCaller autoCaller(this); … … 9062 9070 MachineDebugger *machineDebugger = pConsole->getMachineDebugger(); 9063 9071 if (machineDebugger) 9064 machineDebugger-> flushQueuedSettings();9072 machineDebugger->i_flushQueuedSettings(); 9065 9073 9066 9074 /* … … 9083 9091 ErrorInfoKeeper eik; 9084 9092 pConsole->setVMRuntimeErrorCallbackF(0, "BrokenSharedFolder", 9085 9086 9087 9093 N_("The shared folder '%s' could not be set up: %ls.\n" 9094 "The shared folder setup will not be complete. It is recommended to power down the virtual " 9095 "machine and fix the shared folder settings while the machine is not running"), 9088 9096 it->first.c_str(), eik.getText().raw()); 9089 9097 } … … 9513 9521 9514 9522 pTask->mProgress->SetNextOperation(Bstr(tr("Saving the machine state")).raw(), 9515 pTask->ulMemSize); // operation weight, same as computed when setting up progress object 9523 pTask->ulMemSize); // operation weight, same as computed 9524 // when setting up progress object 9516 9525 if (!pTask->bstrSavedStateFile.isEmpty()) 9517 9526 {
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器