Changeset 24301 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Nov 3, 2009 10:07:55 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxManage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r24136 r24301 403 403 { 404 404 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"; 409 406 break; 410 407 case MachineState_Saved: … … 414 411 pszState = "aborted"; 415 412 break; 413 case MachineState_Teleported: 414 pszState = "teleported"; 415 break; 416 416 case MachineState_Running: 417 417 pszState = "running"; … … 419 419 case MachineState_Paused: 420 420 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"; 421 430 break; 422 431 case MachineState_Starting: … … 432 441 pszState = "restoring"; 433 442 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"; 439 455 break; 440 456 default: -
trunk/src/VBox/Frontends/VBoxManage/VBoxManageList.cpp
r24258 r24301 230 230 { 231 231 case MachineState_Running: 232 case MachineState_Teleporting: 233 case MachineState_LiveSnapshotting: 232 234 case MachineState_Paused: 235 case MachineState_TeleportingPausedVM: 233 236 rc = showVMInfo(a->virtualBox, 234 237 machines[i],
Note:
See TracChangeset
for help on using the changeset viewer.