Changeset 51618 in vbox for trunk/src/VBox/Frontends/VBoxHeadless
- Timestamp:
- Jun 13, 2014 2:47:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r51542 r51618 493 493 " -s, -startvm, --startvm <name|uuid> Start given VM (required argument)\n" 494 494 " -v, -vrde, --vrde on|off|config Enable (default) or disable the VRDE\n" 495 " server or don't change the setting\n"495 " server or don't change the setting\n" 496 496 " -e, -vrdeproperty, --vrdeproperty <name=[value]> Set a VRDE property:\n" 497 " \"TCP/Ports\" - comma-separated list of ports\n" 498 " the VRDE server can bind to. Use a dash between\n" 499 " two port numbers to specify a range\n" 500 " \"TCP/Address\" - interface IP the VRDE server\n" 501 " will bind to\n" 502 " --settingspw <pw> Specify the settings password\n" 503 " --settingspwfile <file> Specify a file containing the settings password\n" 497 " \"TCP/Ports\" - comma-separated list of\n" 498 " ports the VRDE server can bind to; dash\n" 499 " between two port numbers specifies range\n" 500 " \"TCP/Address\" - interface IP the VRDE\n" 501 " server will bind to\n" 502 " --settingspw <pw> Specify the settings password\n" 503 " --settingspwfile <file> Specify a file containing the\n" 504 " settings password\n" 505 " -start-paused, --start-paused Start the VM in paused state\n" 504 506 #ifdef VBOX_WITH_VPX 505 " -c, -capture, --capture 506 " -w, --width 507 " -h, --height 508 " -r, --bitrate 509 " -f, --filename 510 " will be chosen based on thefile extension\n"507 " -c, -capture, --capture Record the VM screen output to a file\n" 508 " -w, --width Frame width when recording\n" 509 " -h, --height Frame height when recording\n" 510 " -r, --bitrate Recording bit rate when recording\n" 511 " -f, --filename File name when recording. The codec used\n" 512 " will be chosen based on file extension\n" 511 513 #endif 512 514 "\n"); … … 646 648 unsigned fPATM = ~0U; 647 649 unsigned fCSAM = ~0U; 650 unsigned fPaused = 0; 648 651 #ifdef VBOX_WITH_VPX 649 652 bool fVideoRec = 0; … … 677 680 OPT_SETTINGSPW, 678 681 OPT_SETTINGSPW_FILE, 679 OPT_COMMENT 682 OPT_COMMENT, 683 OPT_PAUSED 680 684 }; 681 685 … … 721 725 #endif /* VBOX_WITH_VPX defined */ 722 726 { "-comment", OPT_COMMENT, RTGETOPT_REQ_STRING }, 723 { "--comment", OPT_COMMENT, RTGETOPT_REQ_STRING } 727 { "--comment", OPT_COMMENT, RTGETOPT_REQ_STRING }, 728 { "-start-paused", OPT_PAUSED, 0 }, 729 { "--start-paused", OPT_PAUSED, 0 } 724 730 }; 725 731 … … 786 792 case OPT_SETTINGSPW_FILE: 787 793 pcszSettingsPwFile = ValueUnion.psz; 794 break; 795 case OPT_PAUSED: 796 fPaused = true; 788 797 break; 789 798 #ifdef VBOX_WITH_VPX … … 1150 1159 1151 1160 ComPtr <IProgress> progress; 1152 CHECK_ERROR_BREAK(console, PowerUp(progress.asOutParam())); 1161 if (!fPaused) 1162 CHECK_ERROR_BREAK(console, PowerUp(progress.asOutParam())); 1163 else 1164 CHECK_ERROR_BREAK(console, PowerUpPaused(progress.asOutParam())); 1153 1165 1154 1166 /*
Note:
See TracChangeset
for help on using the changeset viewer.