VirtualBox

忽略:
時間撮記:
2014-4-16 下午05:57:25 (11 年 以前)
作者:
vboxsync
訊息:

6813 src-client/MachineDebuggerImpl.cpp + various formatting changes

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r50919 r51092  
    11421142                    if (RT_SUCCESS(rc))
    11431143                    {
    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))
    11451146                        {
    11461147                            case VMMDEV_CREDENTIALS_JUDGE_DENY:        guestJudgement = AuthGuestAccessDenied;  break;
     
    12091210    AssertComRCReturn(hrc, VERR_ACCESS_DENIED);
    12101211
    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));
    12121214
    12131215    if (allowMultiConnection == FALSE)
     
    42874289                    {
    42884290                        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 */
    42904293                            ||  enmVMState == VMSTATE_SUSPENDED)
    42914294                        {
     
    67316734                vrc = RTDirCreateFullPath(pszDumpDir, 0700);
    67326735                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);
    67346738            }
    67356739
     
    78987902
    78997903                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) ));
    79017906                    that->setMachineState(MachineState_Paused);
    79027907                    break;
     
    79377942            AssertMsg(   that->mMachineState == MachineState_LiveSnapshotting
    79387943                      || 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) ));
    79407946            break;
    79417947
    79427948        case VMSTATE_RUNNING_FT:
    79437949            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) ));
    79457952            break;
    79467953
     
    87028709{
    87038710    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));
    87058713
    87068714    AutoCaller autoCaller(this);
     
    90629070                MachineDebugger *machineDebugger = pConsole->getMachineDebugger();
    90639071                if (machineDebugger)
    9064                     machineDebugger->flushQueuedSettings();
     9072                    machineDebugger->i_flushQueuedSettings();
    90659073
    90669074                /*
     
    90839091                            ErrorInfoKeeper eik;
    90849092                            pConsole->setVMRuntimeErrorCallbackF(0, "BrokenSharedFolder",
    9085                                     N_("The shared folder '%s' could not be set up: %ls.\n"
    9086                                        "The shared folder setup will not be complete. It is recommended to power down the virtual "
    9087                                        "machine and fix the shared folder settings while the machine is not running"),
     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"),
    90889096                                    it->first.c_str(), eik.getText().raw());
    90899097                        }
     
    95139521
    95149522            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
    95169525            if (!pTask->bstrSavedStateFile.isEmpty())
    95179526            {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette