VirtualBox

Ignore:
Timestamp:
Nov 3, 2009 10:07:55 PM (15 years ago)
Author:
vboxsync
Message:

Main,Frontends: Added two new running states: Teleporting and LiveSnapshotting. Also added TeleportingPausedVM. Renamed TeleportingFrom to TeleportingIn.

Location:
trunk/src/VBox/Frontends/VBoxManage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp

    r24136 r24301  
    403403    {
    404404        case MachineState_PoweredOff:
    405             if (details == VMINFO_MACHINEREADABLE)
    406                 pszState = "poweroff";
    407             else
    408                 pszState = "powered off";
     405            pszState = details == VMINFO_MACHINEREADABLE ? "poweroff"            : "powered off";
    409406            break;
    410407        case MachineState_Saved:
     
    414411            pszState = "aborted";
    415412            break;
     413        case MachineState_Teleported:
     414            pszState = "teleported";
     415            break;
    416416        case MachineState_Running:
    417417            pszState = "running";
     
    419419        case MachineState_Paused:
    420420            pszState = "paused";
     421            break;
     422        case MachineState_Stuck:
     423            pszState = details == VMINFO_MACHINEREADABLE ? "gurumeditation"      : "guru meditation";
     424            break;
     425        case MachineState_LiveSnapshotting:
     426            pszState = details == VMINFO_MACHINEREADABLE ? "livesnapshotting"    : "live snapshotting";
     427            break;
     428        case MachineState_Teleporting:
     429            pszState = "teleporting";
    421430            break;
    422431        case MachineState_Starting:
     
    432441            pszState = "restoring";
    433442            break;
    434         case MachineState_TeleportingFrom:
    435             if (details == VMINFO_MACHINEREADABLE)
    436                 pszState = "teleportingfrom";
    437             else
    438                 pszState = "teleporting from";
     443        case MachineState_TeleportingPausedVM:
     444            pszState = details == VMINFO_MACHINEREADABLE ? "teleportingpausedvm" : "teleporting paused vm";
     445            break;
     446        case MachineState_TeleportingIn:
     447            pszState = details == VMINFO_MACHINEREADABLE ? "teleportingin"       : "teleporting (incoming)";
     448            break;
     449        case MachineState_RestoringSnapshot:
     450            pszState = details == VMINFO_MACHINEREADABLE ? "restoringsnapshot"   : "restoring snapshot";
     451        case MachineState_DeletingSnapshot:
     452            pszState = details == VMINFO_MACHINEREADABLE ? "deletingsnapshot"    : "deleting snapshot";
     453        case MachineState_SettingUp:
     454            pszState = details == VMINFO_MACHINEREADABLE ? "settingup"           : "setting up";
    439455            break;
    440456        default:
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp

    r24258 r24301  
    230230                            {
    231231                                case MachineState_Running:
     232                                case MachineState_Teleporting:
     233                                case MachineState_LiveSnapshotting:
    232234                                case MachineState_Paused:
     235                                case MachineState_TeleportingPausedVM:
    233236                                    rc = showVMInfo(a->virtualBox,
    234237                                                    machines[i],
Note: See TracChangeset for help on using the changeset viewer.

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