- Timestamp:
- May 20, 2015 12:39:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/en_US/user_VBoxManage.xml
r55867 r55959 2815 2815 <glossentry> 2816 2816 <glossterm><computeroutput>hwvirtexclusive</computeroutput></glossterm> 2817 < para>This specifies whether VirtualBox will make exclusive use of2817 <glossdef><para>This specifies whether VirtualBox will make exclusive use of 2818 2818 the hardware virtualization extensions (Intel VT-x or AMD-V) of the 2819 2819 host system's processor; see <xref linkend="hwvirt" />. If you wish to 2820 2820 share these extensions with other hypervisors running at the same time, 2821 2821 you must disable this setting. Doing so has negative performance implications. 2822 </para> 2822 </para></glossdef> 2823 2823 </glossentry> 2824 2824 … … 3068 3068 linkend="guestadd-guestcontrol" /> for an introduction.</para> 3069 3069 3070 <para>Generally, the syntax is as follows:</para> 3071 3072 <screen>VBoxManage guestcontrol <uuid|vmname> <command></screen> 3073 3074 <para>The following subcommands are available (where 3075 <computeroutput><uuid|vmname></computeroutput>, in each case, can either be a 3076 VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist> 3077 <listitem> 3078 <para><emphasis role="bold"><computeroutput>execute</computeroutput></emphasis>, 3079 which allows for 3080 executing a program/script (process) which already is installed and 3081 runnable on the guest. This command only works while a VM is up and 3082 running and has the following syntax:</para> 3083 3084 <screen>VBoxManage guestcontrol <uuid|vmname> exec[ute] 3085 --image <path to program> --username <name> 3086 [--passwordfile <file> | --password <password>] 3087 [--environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"] 3088 [--verbose] [--timeout <msec>] 3089 [--wait-exit] [--wait-stdout] [--wait-stderr] 3070 <para>There are two sets of subcommands here. The first set requires guest 3071 credentials to be specified, the second set does not.</para> 3072 3073 <para>The first set of subcommands are on the following form:</para> 3074 3075 <screen>VBoxManage guestcontrol <uuid|vmname> <sub-command> 3076 [-v|--verbose] [-q|quiet] [--username <name>] [--domain <domain> ] 3077 [--passwordfile <file> | --password <password>] ... 3078 </screen> 3079 3080 <para>and the second set are on the following form:</para> 3081 3082 <screen>VBoxManage guestcontrol <uuid|vmname> <sub-command> 3083 [-v|--verbose] [-q|quiet] ... 3084 </screen> 3085 3086 <para>where the common parameters are: 3087 <glosslist> 3088 <glossentry> 3089 <glossterm><computeroutput>uuid|vmname</computeroutput></glossterm> 3090 <glossdef><para>The VM UUID or VM name. Mandatory.</para></glossdef> 3091 </glossentry> 3092 <glossentry> 3093 <glossterm><computeroutput>--username <name></computeroutput></glossterm> 3094 <glossdef><para>Name of the user the process should run under. This 3095 user must exist on the guest OS. If not specified the host user 3096 name is used.</para> 3097 </glossdef> 3098 </glossentry> 3099 <glossentry> 3100 <glossterm><computeroutput>--domain <domain></computeroutput></glossterm> 3101 <glossdef><para>User domain for windows guests, optional.</para></glossdef> 3102 </glossentry> 3103 <glossentry> 3104 <glossterm><computeroutput>--passwordfile <file></computeroutput></glossterm> 3105 <glossdef><para>Password of the specified user account to be read from 3106 the given file. If not given, an empty password is assumed.</para></glossdef> 3107 </glossentry> 3108 <glossentry> 3109 <glossterm><computeroutput>--password <password></computeroutput></glossterm> 3110 <glossdef><para>Password of the specified user account. If not given, 3111 an empty password is assumed.</para></glossdef> 3112 </glossentry> 3113 <glossentry> 3114 <glossterm><computeroutput>-v|--verbose</computeroutput></glossterm> 3115 <glossdef><para>Makes the sub-command execution more noisy.</para></glossdef> 3116 </glossentry> 3117 <glossentry> 3118 <glossterm><computeroutput>-q|--quiet</computeroutput></glossterm> 3119 <glossdef><para>Makes the sub-command execution more quiet.</para></glossdef> 3120 </glossentry> 3121 </glosslist> 3122 </para> 3123 3124 <para>The first set of subcommands:<itemizedlist> 3125 <listitem> 3126 <para><emphasis role="bold"><computeroutput>run</computeroutput></emphasis>, 3127 allows you to execute a guest program waiting for it to complete and 3128 forwarding stdout, stderr and stdin to/from the host.</para> 3129 3130 <screen>VBoxManage guestcontrol <uuid|vmname> run [common-options] 3131 [--exe <path to executable>] [--timeout <msec>] 3132 [-E|--putenv <NAME>[=<VALUE>]] [--unquoted-args] 3133 [--ignore-operhaned-processes] [--no-profile] 3134 [--no-wait-stdout|--wait-stdout] 3135 [--no-wait-stderr|--wait-stderr] 3090 3136 [--dos2unix] [--unix2dos] 3091 -- [[<argument1>] ... [<argumentN>]]</screen> 3092 3093 <para>where the parameters mean: <glosslist> 3094 <glossentry> 3095 <glossterm><computeroutput>uuid|vmname</computeroutput></glossterm> 3096 3097 <glossdef> 3098 <para>The VM UUID or VM name. Mandatory.</para> 3099 </glossdef> 3100 </glossentry> 3101 3102 <glossentry> 3103 <glossterm><computeroutput>--image "<path to program>"</computeroutput></glossterm> 3104 3105 <glossdef> 3106 <para>Absolute path and process name of process to execute 3137 -- <program/arg0> [argument1] ... [argumentN]] 3138 </screen> 3139 3140 <para>where the options are: <glosslist> 3141 <glossentry> 3142 <glossterm><computeroutput>--exe "<path to program>"</computeroutput></glossterm> 3143 <glossdef><para>Guest path to the guest executable that should be executed. 3107 3144 in the guest, e.g. 3108 3145 <computeroutput>C:\Windows\System32\calc.exe</computeroutput></para> … … 3142 3179 <glossterm><computeroutput>--dos2unix</computeroutput></glossterm> 3143 3180 3144 <glossdef> 3181 <glossdef><para> 3145 3182 Converts output from DOS/Windows guests to UNIX-compatible 3146 line endings (CR + LF -> LF). Not implemented yet. 3183 line endings (CR + LF -> LF). Not implemented yet.</para> 3147 3184 </glossdef> 3148 3185 </glossentry> … … 3187 3224 <glossterm><computeroutput>--unix2dos</computeroutput></glossterm> 3188 3225 3189 <glossdef> 3226 <glossdef><para> 3190 3227 Converts output from a UNIX/Linux guests to DOS-/Windows-compatible 3191 line endings (LF -> CR + LF). Not implemented yet. 3192 </glossdef> 3228 line endings (LF -> CR + LF). Not implemented yet.</para></glossdef> 3193 3229 </glossentry> 3194 3230
Note:
See TracChangeset
for help on using the changeset viewer.