user_VBoxManage.xml revision 447cbf113f44132911fc13dc33cb26603759b82e
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As briefly mentioned in <xref linkend="frontends" />, VBoxManage is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the command-line interface to VirtualBox. With it, you can completely
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync control VirtualBox from the command line of your host operating system.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VBoxManage supports all the features that the graphical user interface
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync gives you access to, but it supports a lot more than that. It exposes
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync really all the features of the virtualization engine, even those that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cannot (yet) be accessed from the GUI.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You will need to use the command line if you want to</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>use a different user interface than the main GUI (for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VBoxSDL or the VBoxHeadless server);</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>control some of the more advanced and experimental
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync configuration settings for a VM.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>There are two main things to keep in mind when using
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput>: First,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput> must always be used with a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specific "subcommand", such as "list" or "createvm" or "startvm". All the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommands that <computeroutput>VBoxManage</computeroutput> supports are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync described in detail in <xref linkend="vboxmanage" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Second, most of these subcommands require that you specify a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular virtual machine after the subcommand. There are two ways you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can do this:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can specify the VM name, as it is shown in the VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync GUI. Note that if that name contains spaces, then you must enclose the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync entire name in double quotes (as it is always required with command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync line arguments that contain spaces).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For example:<screen>VBoxManage startvm "Windows XP"</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can specify the UUID, which is the internal unique
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync identifier that VirtualBox uses to refer to the virtual machine.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Assuming that the aforementioned VM called "Windows XP" has the UUID
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync shown below, the following command has the same effect as the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync previous:<screen>VBoxManage startvm 670e746d-abea-4ba6-ad02-2a3b043810a5</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can type <computeroutput>VBoxManage list vms</computeroutput> to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync have all currently registered VMs listed with all their settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync including their respective names and UUIDs.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Some typical examples of how to control VirtualBox from the command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync line are listed below:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To create a new virtual machine from the command line and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync immediately register it with VirtualBox, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage createvm</computeroutput> with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--register</computeroutput> option,<footnote>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>$ VBoxManage createvm --name "SUSE 10.2" --register
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtual machine 'SUSE 10.2' is created.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUUID: c89fc351-8ec6-4f02-a048-57f4d25288e5
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncSettings file: '/home/username/.VirtualBox/Machines/SUSE 10.2/SUSE 10.2.xml'
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>As can be seen from the above output, a new virtual machine has
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync been created with a new UUID and a new XML settings file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To show the configuration of a particular VM, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage showvminfo</computeroutput>; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-showvminfo" /> for details and an example.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To change settings while a VM is powered off, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>, e.g. as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync follows:<screen>VBoxManage modifyvm "Windows XP" --memory "512MB"</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For details, see <xref linkend="vboxmanage-modifyvm" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para>To change the storage configuration (e.g. to add a storage
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync controller and then a virtual disk), use <computeroutput>VBoxManage
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync storagectl</computeroutput> and <computeroutput>VBoxManage
e7c4c205cb0af88b5ef0786be46da94847a9a37bvboxsync linkend="vboxmanage-storageattach" /> for details.</para>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To control VM operation, use one of the following:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To start a VM that is currently powered off, use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage startvm</computeroutput>; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-startvm" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>To pause or save a VM that is currently running or change
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync some of its settings, use <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-controlvm" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When running VBoxManage without parameters or when supplying an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync invalid command line, the below syntax diagram will be shown. Note that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the output will be slightly different depending on the host platform; when
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in doubt, check the output of <computeroutput>VBoxManage</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the commands available on your particular host.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Each time VBoxManage is invoked, only one command can be executed.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync However, a command might support several subcommands which then can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync invoked in one single call. The following sections provide detailed
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync reference information on the different commands.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>list</computeroutput> command gives relevant
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information about your system and information about VirtualBox's current
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following subcommands are available with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage list</computeroutput>: <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>vms</computeroutput> lists all virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machines currently registered with VirtualBox. By default this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync displays a compact list with each VM's name and UUID; if you also
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>-l</computeroutput>, this will be a detailed list as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync with the <computeroutput>showvminfo</computeroutput> command (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync below).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>runningvms</computeroutput> lists all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync currently running virtual machines by their unique identifiers
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (UUIDs) in the same format as with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>ostypes</computeroutput> lists all guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating systems presently known to VirtualBox, along with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync identifiers used to refer to them with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>modifyvm</computeroutput> command.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>hostfloppies</computeroutput>, respectively, list
241adddf415cbdf66230864a215b24415f482e72vboxsync DVD, floppy, bridged networking and host-only networking interfaces
241adddf415cbdf66230864a215b24415f482e72vboxsync on the host, along with the name used to access them from within
241adddf415cbdf66230864a215b24415f482e72vboxsync VirtualBox.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>dhcpservers</computeroutput>, respectively, list
241adddf415cbdf66230864a215b24415f482e72vboxsync bridged network interfaces, host-only network interfaces and DHCP
241adddf415cbdf66230864a215b24415f482e72vboxsync servers currently available on the host. Please see <xref
241adddf415cbdf66230864a215b24415f482e72vboxsync linkend="networkingdetails" /> for details on these.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hostinfo</computeroutput> displays information
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync about the host system, such as CPUs, memory size and operating
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync system version.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hostcpuids</computeroutput> dumps the CPUID
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync parameters for the host CPUs. This can be used for a more fine
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync grained analyis of the host's virtualization capabilities.</para>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>hddbackends</computeroutput> lists all known
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync virtual disk back-ends of VirtualBox. For each such format (such as
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync VDI, VMDK or RAW), this lists the back-end's capabilities and
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync configuration.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>floppies</computeroutput> all give you information
241adddf415cbdf66230864a215b24415f482e72vboxsync about virtual disk images currently in use by VirtualBox, including
241adddf415cbdf66230864a215b24415f482e72vboxsync all their settings, the unique identifiers (UUIDs) associated with
241adddf415cbdf66230864a215b24415f482e72vboxsync them by VirtualBox and all files associated with them. This is the
241adddf415cbdf66230864a215b24415f482e72vboxsync command-line equivalent of the Virtual Media Manager; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>usbhost</computeroutput> supplies information
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync about USB devices attached to the host, notably information useful
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync for constructing USB filters and whether they are currently in use
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync by the host.</para>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync </listitem>
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync <para><computeroutput>usbfilters</computeroutput> lists all global
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync USB filters registered with VirtualBox -- that is, filters for
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync devices which are accessible to all virtual machines -- and displays
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync the filter parameters.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para><computeroutput>systemproperties</computeroutput> displays
241adddf415cbdf66230864a215b24415f482e72vboxsync some global VirtualBox settings, such as minimum and maximum guest
241adddf415cbdf66230864a215b24415f482e72vboxsync RAM and virtual hard disk size, folder settings and the current
241adddf415cbdf66230864a215b24415f482e72vboxsync authentication library in use.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para><computeroutput>extpacks</computeroutput> displays all
241adddf415cbdf66230864a215b24415f482e72vboxsync VirtualBox extension packs currently installed; see <xref
241adddf415cbdf66230864a215b24415f482e72vboxsync linkend="vboxmanage-extpack" /> for more information.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>showvminfo</computeroutput> command shows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information about a particular virtual machine. This is the same
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information as <computeroutput>VBoxManage list vms --long</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync would show for all virtual machines.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You will get information similar to the following:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncName: Windows XP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUUID: 1bf3464d-57c6-4d49-92a9-a5cc3816b7e7
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncConfig file: /home/username/.VirtualBox/Machines/Windows XP/Windows XP.xml
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncMemory size: 512MB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVRAM size: 12MB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNumber of CPUs: 2
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncSynthetic Cpu: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot menu mode: message and menu
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (1): DVD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (2): HardDisk
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (3): Not Assigned
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncBoot Device (4): Not Assigned
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTime offset: 0 ms
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncHardw. virt.ext exclusive: on
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNested Paging: on
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncVT-x VPID: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncState: powered off (since 2009-10-20T14:52:19.000000000)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncMonitor count: 1
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync3D Acceleration: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync2D Video Acceleration: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Enabled: off
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Port: 0
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Address:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncTeleporter Password:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller (0): IDE Controller
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller Type (0): PIIX4
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller (1): Floppy Controller 1
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStorage Controller Type (1): I82078
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncIDE Controller (0, 0): /home/user/windows.vdi (UUID: 46f6e53a-4557-460a-9b95-68b0f17d744b)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncIDE Controller (0, 1): /home/user/openbsd-cd46.iso (UUID: 4335e162-59d3-4512-91d5-b63e94eebe0b)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncFloppy Controller 1 (0, 0): /home/user/floppy.img (UUID: 62ac6ccb-df36-42f2-972e-22f836368137)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 1: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 2: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 3: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 4: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 5: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 6: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 7: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncNIC 8: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUART 1: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUART 2: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAudio: disabled (Driver: Unknown)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncClipboard Mode: Bidirectional
4791a729647f035b6561d292c9f848dd1fc797a9vboxsyncVRDE: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUSB: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncUSB Device Filters:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<none>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncShared folders:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync<none>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncStatistics update: disabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title>VBoxManage registervm / unregistervm</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>registervm</computeroutput> command allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to import a virtual machine definition in an XML file into VirtualBox. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine must not conflict with one already registered in VirtualBox and it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync may not have any hard or removable disks attached. It is advisable to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync place the definition file in the machines folder before registering
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When creating a new virtual machine with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage createvm</computeroutput> (see below), you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can directly specify the <computeroutput>--register</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option to avoid having to register it separately.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>unregistervm</computeroutput> command
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync unregisters a virtual machine. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--delete</computeroutput> is also specified, the following
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync files will automatically be deleted as well:<orderedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>all hard disk image files, including differencing files, which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync are used by the machine and not shared with other machines;</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>saved state files that the machine created, if any (one if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine was in "saved" state and one for each online
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot);</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>the machine directory, if it is empty after having deleted all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the above.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title id="vboxmanage-createvm">VBoxManage createvm</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command creates a new XML virtual machine definition
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>--name <name></computeroutput> parameter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is required and must specify the name of the machine. Since this name is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used by default as the file name of the settings file (with the extension
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>.xml</computeroutput>) and the machine folder (a subfolder
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the <computeroutput>.VirtualBox/Machines</computeroutput> folder), it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync must conform to your host operating system's requirements for file name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifications. If the VM is later renamed, the file and folder names will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync change automatically.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <path></computeroutput> option is used, the machine folder will be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync named <computeroutput><path></computeroutput>. In this case, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync names of the file and the folder will not change if the virtual machine is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync renamed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>By default, this command only creates the XML file without
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync automatically registering the VM with your VirtualBox installation. To
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync register the VM instantly, use the optional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--register</computeroutput> option, or run
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage registervm</computeroutput> separately
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync afterwards.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command changes the properties of a registered virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which is not running. Most of the properties that this command makes
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available correspond to the VM settings that VirtualBox graphical user
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface displays in each VM's "Settings" dialog; these were described in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="BasicConcepts" />. Some of the more advanced settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync however, are only available through the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage</computeroutput> interface.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>These commands require that the machine is powered off (neither
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running nor in "saved" state). Some machine settings can also be changed
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync while a machine is running; those settings will then have a corresponding
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand with the <computeroutput>VBoxManage controlvm</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync subcommand (see <xref linkend="vboxmanage-controlvm" />).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following general settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--name <name></computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync changes the VM's name and possibly renames the internal virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine files, as described with <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--ostype <ostype></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This specifies what guest operating system is supposed to run in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the VM. To learn about the various identifiers that can be used
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync here, use <computeroutput>VBoxManage list
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <memorysize></computeroutput>: This sets the amount of RAM,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in MB, that the virtual machine should allocate for itself from
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host. See the remarks in <xref linkend="gui-createvm" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync more information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--vram <vramsize></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This sets the amount of RAM that the virtual graphics card should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync have. See <xref linkend="settings-display" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--acpi on|off</computeroutput>;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--ioapic on|off</computeroutput>: These two
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync determine whether the VM should have ACPI and I/O APIC support,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync respectively; see <xref linkend="settings-motherboard" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <uuid></computeroutput>: The UUID presented to the guest via
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory tables (DMI/SMBIOS), hardware and guest properties. By
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default this is the same as the VM uuid. Useful when cloning a VM.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Teleporting takes care of this automatically.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpus <cpucount></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This sets the number of virtual CPUs for the virtual machine (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="settings-processor" />). If CPU hot-plugging is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enabled (see below), this then sets the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <emphasis>maximum</emphasis> number of virtual CPUs that can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync plugged into the virtual machines.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--rtcuseutc on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option lets the real-time clock (RTC) operate in UTC time (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpuhotplug on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables CPU hot-plugging. When enabled, virtual CPUs can be added
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to and removed from a virtual machine while it is running. See
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="cpuhotplug" /> for more information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <id></computeroutput>: If CPU hot-plugging is enabled (see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above), this adds a virtual CPU to the virtual machines (or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync removes one). <computeroutput><id></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifies the index of the virtual CPU to be added or removed and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync must be a number from 0 to the maximum no. of CPUs configured with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the <computeroutput>--cpus</computeroutput> option. CPU 0 can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync never be removed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
223935479ac42db56b7b7a7d16548d590022996avboxsync <1-100></computeroutput>: This setting controls how much cpu
223935479ac42db56b7b7a7d16548d590022996avboxsync time a virtual CPU can use. A value of 50 implies a single virtual
223935479ac42db56b7b7a7d16548d590022996avboxsync CPU can use up to 50% of a single host CPU.</para>
fd60bfdb327b9b1e7a6d084cf368fb7f07c566cfvboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--synthcpu on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync setting determines whether VirtualBox will expose a synthetic CPU
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the guest to allow live migration between host systems that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync differ significantly.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--pae on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--hpet on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables/disables a High Precision Event Timer (HPET) which can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync replace the legacy system timers. This is turned off by default.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Note that Windows supports a HPET only from Vista onwards.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para><computeroutput>--hwvirtex on|off</computeroutput>: This
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync enables or disables the use of hardware virtualization extensions
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync (Intel VT-x or AMD-V) in the processor of your host system; see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--hwvirtexexcl on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specifies whether VirtualBox will make exclusive use of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization extensions (Intel VT-x or AMD-V) in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor of your host system; see <xref linkend="hwvirt" />. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you wish to simultaneously share these extensions with other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hypervisors, then you must disable this setting. Doing so has
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync negative performance implications.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--nestedpaging on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization is enabled, this additional setting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables or disables the use of the nested paging feature in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor of your host system; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--largepages on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization <emphasis>and</emphasis> nested paging are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enabled, for Intel VT-x only, an additional performance
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync improvement of up to 5% can be obtained by enabling this setting.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This causes the hypervisor to use large pages to reduce TLB use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync and overhead.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--vtxvpid on|off</computeroutput>: If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware virtualization is enabled, for Intel VT-x only, this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync additional setting enables or disables the use of the tagged TLB
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (VPID) feature in the processor of your host system; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--accelerate3d on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables, if the Guest Additions are installed, whether hardware 3D
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync acceleration should be available; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>You can influence the BIOS logo that is displayed when a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine starts up with a number of settings. Per default,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a VirtualBox logo is displayed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput> and <computeroutput>--bioslogofadeout
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>, you can determine whether the logo should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync fade in and out, respectively.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <msec></computeroutput> you can set how long the logo should
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be visible, in milliseconds.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <imagepath></computeroutput> you can, if you are so
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inclined, replace the image that is shown, with your own logo. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync image must be an uncompressed 256 color BMP file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disabled|menuonly|messageandmenu</computeroutput>: This specifies
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync whether the BIOS allows the user to select a temporary boot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync device. <computeroutput>menuonly</computeroutput> suppresses the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync message, but the user can still press F12 to select a temporary
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync boot device.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|floppy|dvd|disk|net</computeroutput>: This specifies the boot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync order for the virtual machine. There are four "slots", which the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM will try to access from 1 to 4, and for each of which you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync set a device that the VM should attempt to boot from.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|<path></computeroutput>: This allows you to specify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the folder in which snapshots will be kept for a virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--firmware efi|bios</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Specifies which firmware is used to boot particular virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine: EFI or BIOS. Use EFI only if your fully understand what
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you're doing.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <size></computeroutput> sets the default size of the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory balloon, that is, memory allocated by the VirtualBox Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions from the guest operating system and returned to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hypervisor for re-use by other virtual machines. <size> must
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be specified in megabytes. The default size is 0 megabytes. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, see <xref linkend="guestadd-balloon" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following networking settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>. With all these
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings, the decimal number directly following the option name ("1-N"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the list below) specifies the virtual network adapter whose settings
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync should be changed.<itemizedlist>
447cbf113f44132911fc13dc33cb26603759b82evboxsync none|null|nat|bridged|intnet|hostonly|generic
447cbf113f44132911fc13dc33cb26603759b82evboxsync </computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this, you can set, for each of the VM's virtual network cards,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync what type of networking should be available. They can be not
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync present (<computeroutput>none</computeroutput>), not connected to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host (<computeroutput>null</computeroutput>), use network
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address translation (<computeroutput>nat</computeroutput>),
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync bridged networking (<computeroutput>bridged</computeroutput>) or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync communicate with other virtual machines using internal networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>intnet</computeroutput>), host-only networking
447cbf113f44132911fc13dc33cb26603759b82evboxsync (<computeroutput>hostonly</computeroutput>), or access rarely used
447cbf113f44132911fc13dc33cb26603759b82evboxsync sub-modes (<computeroutput>generic</computeroutput>).
447cbf113f44132911fc13dc33cb26603759b82evboxsync These options correspond
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the modes which are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Am79C970A|Am79C973|82540EM|82543GC|82545EM|virtio</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This allows you, for each of the VM's virtual network cards, to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specify which networking hardware VirtualBox presents to the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This allows you to temporarily disconnect
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a virtual network interface, as if a network cable had been pulled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from a real network card. This might be useful for resetting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync certain software components in the VM.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the "nictrace" options, you can optionally trace
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network traffic by dumping it to a file, for debugging
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync purposes.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>, you can enable network tracing for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync particular virtual network card.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If enabled, you must specify with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nictracefile<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <filename></computeroutput> what file the trace should be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync logged to.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|<devicename></computeroutput>: If bridged networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync has been enabled for a virtual network card (see the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nic</computeroutput> option above; otherwise
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting has no effect), use this option to specify which host
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface the given virtual network interface will use. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, please see <xref linkend="network_bridged" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync none|<devicename></computeroutput>: If host-only networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync has been enabled for a virtual network card (see the --nic option
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above; otherwise this setting has no effect), use this option to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specify which host-only networking interface the given virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network interface will use. For details, please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network</computeroutput>: If internal networking has been enabled
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for a virtual network card (see the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--nic</computeroutput> option above; otherwise
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting has no effect), use this option to specify the name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the internal network (see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync auto|<mac></computeroutput>: With this option you can set
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the MAC address of the virtual network card. Normally, each
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual network card is assigned a random address by VirtualBox at
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM creation.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4fac78486305f1f002adbf23953382e5d832af94vboxsync <backend driver></computeroutput>: If generic networking has been
447cbf113f44132911fc13dc33cb26603759b82evboxsync enabled for a virtual network card (see the
447cbf113f44132911fc13dc33cb26603759b82evboxsync <computeroutput>--nic</computeroutput> option above; otherwise
447cbf113f44132911fc13dc33cb26603759b82evboxsync this setting has no effect), this mode allows you to access
447cbf113f44132911fc13dc33cb26603759b82evboxsync rarely used networking sub-modes, such as VDE network or UDP Tunnel.
447cbf113f44132911fc13dc33cb26603759b82evboxsync </listitem>
447cbf113f44132911fc13dc33cb26603759b82evboxsync <paramname>="paramvalue"</computeroutput>:
447cbf113f44132911fc13dc33cb26603759b82evboxsync This option, in combination with "nicgenericdrv" allows you to
447cbf113f44132911fc13dc33cb26603759b82evboxsync pass parameters to rarely-used network backends.</para><para>
447cbf113f44132911fc13dc33cb26603759b82evboxsync Those parameters are backend engine-specific, and are different
4fac78486305f1f002adbf23953382e5d832af94vboxsync between UDP Tunnel and the VDE backend drivers. For example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following NAT networking settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>. With all these
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings, the decimal number directly following the option name ("1-N"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the list below) specifies the virtual network adapter whose
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync settings should be changed.<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<name>],tcp|udp,[<hostip>],<hostport>,[<guestip>],
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <guestport></computeroutput>: This option defines a NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync port-forwarding rule (please see <xref linkend="natforward" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <name></computeroutput>: This option deletes a NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync port-forwarding rule (please see <xref linkend="natforward" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <prefix></computeroutput>: This option defines a prefix
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the built-in TFTP server, i.e. where the boot file is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync located (please see <xref linkend="nat-tftp" /> and <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <bootfile></computeroutput>: This option defines the TFT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync boot file (please see <xref linkend="nat-adv-tftp" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <tftpserver></computeroutput>: This option defines the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync TFTP server address to boot from (please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--natdnspassdomain<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option specifies whether the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync built-in DHCP server passes the domain name for network name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync resolution.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option makes the NAT engine proxy
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync all guest DNS requests to the host's DNS servers (please see
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <xref linkend="nat-adv-dns" /> for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--natdnshostresolver<1-N>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync on|off</computeroutput>: This option makes the NAT engine use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the host's resolver mechanisms to handle DNS requests (please
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="nat-adv-dns" /> for details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<mtu>],[<socksnd>],[<sockrcv>],[<tcpsnd>],
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [<tcprcv>]</computeroutput>: This option controls several
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync NAT settings (please see <xref linkend="nat-adv-settings" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|[log],[proxyonly],[sameports]</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option defines behaviour of NAT engine core: log - enables
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync logging, proxyonly - switches of aliasing mode makes NAT
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync transparent, sameports enforces NAT engine to send packets via
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the same port as they originated on, default - disable all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync mentioned modes above . (please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <title>Serial port, audio, clipboard, remote desktop and USB
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync settings</title>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following other hardware settings are available through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxManage modifyvm</computeroutput>:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--uart<1-N> off|<I/O base>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <IRQ></computeroutput>: With this option you can configure
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual serial ports for the VM; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="serialports" /> for an introduction.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <arg></computeroutput>: This setting controls how VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connects a given virtual serial port (previously configured with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the <computeroutput>--uartX</computeroutput> setting, see above)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the host on which the virtual machine is running. As described
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in detail in <xref linkend="serialports" />, for each such port,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can specify <computeroutput><arg></computeroutput> as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync one of the following options:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>disconnected</computeroutput>: Even
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync though the serial port is shown to the guest, it has no
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "other end" -- like a real COM port without a cable.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pipename></computeroutput>: On a Windows host, this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync tells VirtualBox to create a named pipe on the host named
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><pipename></computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connect the virtual serial device to it. Note that Windows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync requires that the name of a named pipe begin with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>On a Linux host, instead of a named pipe, a local
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync domain socket is used.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pipename></computeroutput>: This operates just like
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>server ...</computeroutput>, except that the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pipe (or local domain socket) is not created by VirtualBox,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync but assumed to exist already.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput><devicename></computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync If, instead of the above, the device name of a physical
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hardware serial port of the host is specified, the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync serial port is connected to that hardware port. On a Windows
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync host, the device name will be a COM port such as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>COM1</computeroutput>; on a Linux host, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync device name will look like
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>/dev/ttyS0</computeroutput>. This allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to "wire" a real serial port to a virtual machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--audio none|null|oss</computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this option, you can set whether the VM should have audio
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync support.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disabled|hosttoguest|guesttohost|bidirectional</computeroutput>:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync With this setting, you can select whether the guest operating
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system's clipboard should be shared with the host; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="generalsettings" />. This requires that the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions be installed in the virtual machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <count></computeroutput>: This enables multi-monitor
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync support; see <xref linkend="settings-display" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--usb on|off</computeroutput>: This option
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enables or disables the VM's virtual USB controller; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--usbehci on|off</computeroutput>: This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option enables or disables the VM's virtual USB 2.0 controller;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="settings-usb" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following settings that affect remote machine behavior are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync available through <computeroutput>VBoxManage
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrde on|off</computeroutput>: With the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VirtualBox graphical user interface, this enables or disables the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync VirtualBox remote desktop extension (VRDE) server. Note that if
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync you are using <computeroutput>VBoxHeadless</computeroutput> (see
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <xref linkend="vboxheadless" />), VRDE is enabled by
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync default|<ports></computeroutput>: A port or a range of ports
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync the VRDE server can bind to; "default" or "0" means port 3389, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync standard port for RDP. You can specify a comma-separated list of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync ports or ranges of ports. Use a dash between two port numbers to
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync specify a range. The VRDE server will bind to <emphasis
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync role="bold">one</emphasis> of available ports from the specified
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync list. Only one machine can use a given port at a time. For
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync example, the option <computeroutput> --vrdeport
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync 5000,5010-5012</computeroutput> will tell the server to bind to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync one of following ports: 5000, 5010, 5011 or 5012.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address></computeroutput>: The IP address of the host network
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync interface the VRDE server will bind to. If specified, the server
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync will accept connections only on the specified host network
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync interface.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync null|external|guest</computeroutput>: This allows you to choose
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync whether and how authorization will be performed; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdemulticon on|off</computeroutput>: This
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync enables multiple connections to the same VRDE server, if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdereusecon on|off</computeroutput>: This
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync specifies the VRDE server behavior when multiple connections are
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync disabled. When this option is enabled, the server will allow a new
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync client to connect and will drop the existing connection. When this
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync option is disabled (this is the default setting), a new connection
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync will not be accepted if there is already a client connected to the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync server.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync <para><computeroutput>--vrdevideochannel on|off</computeroutput>:
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync This enables video redirection, if it is supported by the VRDE
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync server; see <xref lang="" linkend="vrde-videochannel" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <percent></computeroutput>: Sets the image quality for video
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the following commands for <computeroutput>VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync modifyvm</computeroutput> you can configure a machine to be a target for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting. See <xref linkend="teleporting" /> for an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync introduction.<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--teleporter on|off</computeroutput>: With
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this setting you turn on or off whether a machine waits for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting request to come in on the network when it is started.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync If "on", when the machine is started, it does not boot the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine as it would normally; instead, it then waits for a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting request to come in on the port and address listed with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the next two parameters.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <port></computeroutput>, <computeroutput>--teleporteraddress
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <address></computeroutput>: these must be used with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --teleporter and tell the virtual machine on which port and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address it should listen for a teleporting request from another
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine. <computeroutput><port></computeroutput> can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><address></computeroutput> can be any IP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync address or hostname and specifies the TCP/IP socket to bind to.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync The default is "0.0.0.0", which means any address.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <password></computeroutput>: if this optional argument is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync given, then the teleporting request will only succeed if the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync source machine specifies the same password as the one given with
ae56268ed43efa582cc3605ea0270106562a306dvboxsync this command.<note>
ae56268ed43efa582cc3605ea0270106562a306dvboxsync <para>Currently, the password is stored without encryption
ae56268ed43efa582cc3605ea0270106562a306dvboxsync (i.e. in clear text) in the XML machine configuration
ae56268ed43efa582cc3605ea0270106562a306dvboxsync file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>--cpuid <leaf> <eax> <ebx>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <ecx> <edx></computeroutput>: Advanced users can use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync this command before a teleporting operation to restrict the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual CPU capabilities that VirtualBox presents to the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating system. This must be run on both the source and the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync target machines involved in the teleporting and will then modify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync what the guest sees when it executes the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>CPUID</computeroutput> machine instruction. This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync might help with misbehaving applications that wrongly assume that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync certain CPU capabilities are present. The meaning of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync parameters is hardware dependent; please refer to the AMD or Intel
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync processor manuals.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync <para>This command imports a virtual appliance in OVF format by copying
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync the virtual disk images and creating virtual machines in VirtualBox. See
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <xref linkend="ovf" /> for an introduction to appliances.</para>
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <para>The <computeroutput>import</computeroutput> subcommand takes at
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync least the path name of an OVF file as input and expects the disk images,
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync if needed, in the same directory as the OVF file. A lot of additional
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync command-line options are supported to control in detail what is being
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync imported and modify the import parameters, but the details depend on the
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync content of the OVF file.</para>
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <para>It is therefore recommended to first run the import subcommand with
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <computeroutput>-n</computeroutput> option. This will then print a
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync description of the appliance's contents to the screen how it would be
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync imported into VirtualBox, together with the optional command-line options
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync to influence the import behavior.</para>
b7fc0ed6c80bf49e581b983ee0039b67f001d849vboxsync <para>As an example, here is the screen output with a sample appliance
b7fc0ed6c80bf49e581b983ee0039b67f001d849vboxsync containing a Windows XP guest:<screen>VBoxManage import WindowsXp.ovf --dry-run
b7fc0ed6c80bf49e581b983ee0039b67f001d849vboxsyncVirtual system 0:
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync 0: Suggested OS type: "WindowsXP"
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all)
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync 1: Suggested VM name "Windows XP Professional_1"
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync (change with "--vsys 0 --vmname <name>")
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync 3: Number of CPUs: 1
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync (change with "--vsys 0 --cpus <n>")
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync 4: Guest memory: 956 MB (change with "--vsys 0 --memory <MB>")
b59225a084dd225b72dd3c2238045ef19f60aa61vboxsync 5: Sound card (appliance expects "ensoniq1371", can change on import)
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync (disable with "--vsys 0 --unit 5 --ignore")
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync 6: USB controller
bd5c7d04b57ea9dfea041aad6a07cd8823b4e7c0vboxsync (disable with "--vsys 0 --unit 6 --ignore")
b59225a084dd225b72dd3c2238045ef19f60aa61vboxsync 7: Network adapter: orig bridged, config 2, extra type=bridged
b59225a084dd225b72dd3c2238045ef19f60aa61vboxsync (disable with "--vsys 0 --unit 8 --ignore")
b59225a084dd225b72dd3c2238045ef19f60aa61vboxsync 9: SCSI controller, type BusLogic
b59225a084dd225b72dd3c2238045ef19f60aa61vboxsync (change with "--vsys 0 --unit 9 --scsitype {BusLogic|LsiLogic}";
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync disable with "--vsys 0 --unit 9 --ignore")
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync10: IDE controller, type PIIX4
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync (disable with "--vsys 0 --unit 10 --ignore")
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync11: Hard disk image: source image=WindowsXp.vmdk,
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync target path=/home/user/disks/WindowsXp.vmdk, controller=9;channel=0
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync (change controller with "--vsys 0 --unit 11 --controller <id>";
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync disable with "--vsys 0 --unit 11 --ignore")</screen></para>
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <para>As you can see, the individual configuration items are numbered, and
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync depending on their type support different command-line options. The import
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync subcommand can be directed to ignore many such items with a
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <computeroutput>--vsys X --unit Y --ignore</computeroutput> option, where
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync X is the number of the virtual system (zero unless there are several
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync virtual system descriptions in the appliance) and Y the item number, as
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync printed on the screen.</para>
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <para>In the above example, Item #1 specifies the name of the target
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync machine in VirtualBox. Items #9 and #10 specify hard disk controllers,
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync respectively. Item #11 describes a hard disk image; in this case, the
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync additional <computeroutput>--controller</computeroutput> option indicates
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync which item the disk image should be connected to, with the default coming
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync from the OVF file.</para>
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync <para>You can combine several items for the same virtual system behind the
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync same <computeroutput>--vsys</computeroutput> option. For example, to
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync import a machine as described in the OVF, but without the sound card and
3dd1d8fdf12303b292d9ee378edbc5f5fb6d6cb5vboxsync without the USB controller, and with the disk image connected to the IDE
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync controller instead of the SCSI controller, use this:<screen>VBoxManage import WindowsXp.ovf
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --vsys 0 --unit 5 --ignore --unit 6 --ignore --unit 11 --controller 10</screen></para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command exports one or more virtual machines from VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync into a virtual appliance in OVF format, including copying their virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disk images to compressed VMDK. See <xref linkend="ovf" /> for an
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync introduction to appliances.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>export</computeroutput> command is simple to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync use: list the machine (or the machines) that you would like to export to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the same OVF file and specify the target OVF file after an additional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>-o</computeroutput> option. Note that the directory of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync target OVF file will also receive the exported disk images in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync compressed VMDK format (regardless of the original format) and should have
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync enough disk space left for them.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Beside a simple export of a given virtual machine, you can append
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync several product information to the appliance file. Use
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--version</computeroutput> to specify this additional
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information. For legal reasons you may add a license text or the content
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of a license file by using the <computeroutput>--eula</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--eulafile</computeroutput> option respectively. As with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync OVF import, you must use the <computeroutput>--vsys X</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option to direct the previously mentioned options to the correct virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For virtualization products which aren't fully compatible with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync OVF standard 1.0 you can enable a OVF 0.9 legacy mode with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--legacy09</computeroutput> option.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command starts a virtual machine that is currently in the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Powered off" or "Saved" states.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This is provided for backwards compatibility only. We recommend to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync start virtual machines directly by running the respective front-end, as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you might otherwise miss important error and state information that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VirtualBox may display on the console. This is especially important for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync front-ends other than <computeroutput>VirtualBox</computeroutput>, our
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync graphical user interface, because those cannot display error messages in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a popup window. See <xref linkend="vboxheadless" /> for more
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The optional <computeroutput>--type</computeroutput> specifier
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync determines whether the machine will be started in a window (GUI mode,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync which is the default) or whether the output should go through
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>VBoxHeadless</computeroutput>, with VRDE enabled or not;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="vboxheadless" /> for more information. The list of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync types is subject to change, and it's not guaranteed that all types are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync accepted by any product variant.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Starts a VM showing a GUI window. This is the default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Starts a VM without a window for remote display only.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>controlvm</computeroutput> subcommand allows you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to change the state of a virtual machine that is currently running. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following can be specified:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pause</computeroutput> temporarily puts a virtual machine on hold,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync without changing its state for good. The VM window will be painted
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in gray to indicate that the VM is currently paused. (This is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync equivalent to selecting the "Pause" item in the "Machine" menu of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Use <computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync resume</computeroutput> to undo a previous
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>pause</computeroutput> command. (This is equivalent
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to selecting the "Resume" item in the "Machine" menu of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync reset</computeroutput> has the same effect on a virtual machine as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pressing the "Reset" button on a real computer: a cold reboot of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machine, which will restart and boot the guest operating
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system again immediately. The state of the VM is not saved
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync beforehand, and data may be lost. (This is equivalent to selecting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the "Reset" item in the "Machine" menu of the GUI.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync poweroff</computeroutput> has the same effect on a virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync as pulling the power cable on a real computer. Again, the state of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the VM is not saved beforehand, and data may be lost. (This is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync equivalent to selecting the "Close" item in the "Machine" menu of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the GUI or pressing the window's close button, and then selecting
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Power off the machine" in the dialog.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>After this, the VM's state will be "Powered off". From there,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync it can be started again; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync savestate</computeroutput> will save the current state of the VM to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disk and then stop the VM. (This is equivalent to selecting the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "Close" item in the "Machine" menu of the GUI or pressing the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync window's close button, and then selecting "Save the machine state"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the dialog.)</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>After this, the VM's state will be "Saved". From there, it can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be started again; see <xref linkend="vboxmanage-startvm" />.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>VBoxManage controlvm <vm> teleport
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync --hostname <name> --port <port> [--password
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <password>]</computeroutput> makes the machine the source of a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync teleporting operation and initiates a teleport to the given target.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync See <xref linkend="teleporting" /> for an introduction. If the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync optional password is specified, it must match the password that was
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync given to the <computeroutput>modifyvm</computeroutput> command for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the target machine; see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="vboxmanage-modifyvm-teleport" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>A few extra options are available with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>controlvm</computeroutput> that do not directly affect the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM's running state:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>setlinkstate<1-N></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operation connects or disconnects virtual network cables from their
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync network interfaces.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync null|nat|bridged|intnet|hostonly|generic</computeroutput>: With this, you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync set, for each of the VM's virtual network cards, what type of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync networking should be available. They can be not connected to the host
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>null</computeroutput>), use network address
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync translation (<computeroutput>nat</computeroutput>), bridged networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>bridged</computeroutput>) or communicate with other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machines using internal networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>intnet</computeroutput>) or host-only networking
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>hostonly</computeroutput>) or access to rarely used
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (<computeroutput>generic</computeroutput>). These options correspond
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to the modes which are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>usbattach</computeroutput> and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>usbdettach</computeroutput> make host USB devices
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync visible to the virtual machine on the fly, without the need for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync creating filters first. The USB devices can be specified by UUID
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync (unique identifier) or by address on the host system.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync usbhost</computeroutput> to locate this information.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>vrde on|off</computeroutput> lets you enable or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync disable the VRDE server, if it is installed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>vrdeport default|<ports></computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync changes the port or a range of ports that the VRDE server can bind to;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "default" or "0" means port 3389, the standard port for RDP. For
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details, see the description for the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--vrdeport</computeroutput> option in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>setvideomodehint</computeroutput> requests that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the guest system change to a particular video mode. This requires that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the Guest Additions be installed, and will not work for all guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync systems.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>screenshotpng</computeroutput> takes a screenshot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the guest display and saves it in PNG format.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>setcredentials</computeroutput> operation is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used for remote logons in Windows guests. For details, please refer to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>guestmemoryballoon</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operation changes the size of the guest memory balloon, that is,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync memory allocated by the VirtualBox Guest Additions from the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync operating system and returned to the hypervisor for re-use by other
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync virtual machines. This must be specified in megabytes. For details,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
447cbf113f44132911fc13dc33cb26603759b82evboxsync <1-100></computeroutput>: This operation controls how much cpu
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync time a virtual CPU can use. A value of 50 implies a single virtual CPU
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can use up to 50% of a single host CPU.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </itemizedlist>
447cbf113f44132911fc13dc33cb26603759b82evboxsync <para>This command discards the saved state of a virtual machine which is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync not currently running, which will cause its operating system to restart
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync next time you start it. This is the equivalent of pulling out the power
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cable on a physical machine, and should be avoided if possible.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>If you have a saved state file (<computeroutput>.sav</computeroutput>)
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync that is seperate from the VM configuration, you can use this command to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "adopt" the file. This will change the VM to saved state and when you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync start it, VirtualBox will attempt to restore it from the saved state file
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you indicated. This command should only be used in special setups.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command is used to control snapshots from the command line. A
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot consists of a complete copy of the virtual machine settings,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync copied at the time when the snapshot was taken, and optionally a virtual
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync machine saved state file if the snapshot was taken while the machine was
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync running. After a snapshot has been taken, VirtualBox creates differencing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync hard disk for each normal hard disk associated with the machine so that
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync when a snapshot is restored, the contents of the virtual machine's virtual
4791a729647f035b6561d292c9f848dd1fc797a9vboxsync hard disks can be quickly reset by simply dropping the pre-existing
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync differencing files.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>take</computeroutput> operation takes a snapshot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the current state of the virtual machine. You must supply a name for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the snapshot and can optionally supply a description. The new snapshot is
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inserted into the snapshots tree as a child of the current snapshot and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync then becomes the new current snapshot.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>delete</computeroutput> operation deletes a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync snapshot (specified by name or by UUID). This can take a while to finish
6c221e25dc2b60524e787167348abb062dd89f3fvboxsync since the differencing images associated with the snapshot might need to
6c221e25dc2b60524e787167348abb062dd89f3fvboxsync be merged with their child differencing images.</para>
6c221e25dc2b60524e787167348abb062dd89f3fvboxsync <para>The <computeroutput>restore</computeroutput> operation will restore
6c221e25dc2b60524e787167348abb062dd89f3fvboxsync the given snapshot (specified by name or by UUID) by resetting the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine's settings and current state to that of the snapshot. The previous
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync current state of the machine will be lost. After this, the given snapshot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync becomes the new "current" snapshot so that subsequent snapshots are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inserted under the snapshot from which was restored.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The <computeroutput>restorecurrent</computeroutput> operation is a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync shortcut to restore the current snapshot (i.e. the snapshot from which the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync current state is derived). This subcommand is equivalent to using the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "restore" subcommand with the name or UUID of the current snapshot, except
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync that it avoids the extra step of determining that name or UUID.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the <computeroutput>edit</computeroutput> operation, you can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync change the name or description of an existing snapshot.</para>
fd60bfdb327b9b1e7a6d084cf368fb7f07c566cfvboxsync <para>With the <computeroutput>showvminfo</computeroutput> operation, you
fd60bfdb327b9b1e7a6d084cf368fb7f07c566cfvboxsync can view the virtual machine settings that were stored with an existing
223935479ac42db56b7b7a7d16548d590022996avboxsync snapshot.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This commands removes a hard disk, DVD or floppy image from a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VirtualBox media registry.<footnote>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Before VirtualBox 4.0, it was necessary to call VBoxManage
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync openmedium before a medium could be attached to a virtual machine;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync that call "registered" the medium with the global VirtualBox media
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync registry. With VirtualBox 4.0 this is no longer necessary; media are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync added to media registries automatically. The "closemedium" call has
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync been retained, however, to allow for explicitly removing a medium from
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a registry.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Optionally, you can request that the image be deleted. You will get
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync appropriate diagnostics that the deletion failed, however the image will
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync become unregistered in any case.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <title id="vboxmanage-storageattach">VBoxManage storageattach</title>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>This command attaches/modifies/removes a storage medium connected to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a storage controller that was previously added with the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>storagectl</computeroutput> command (see the previous
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync section). The syntax is as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage storageattach <uuid|vmname>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --storagectl <name>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --port <number>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --device <number>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--type dvddrive|hdd|fdd]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--medium none|emptydrive|
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <uuid>|<filename>|host:<drive>|iscsi]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--mtype normal|writethrough|immutable|shareable]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--comment <text>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--passthrough on|off]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--bandwidthgroup name|none]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--forceunmount]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--server <name>|<ip>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--target <target>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--port <port>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--lun <lun>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--encodedlun <lun>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--username <username>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--password <password>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>A number of parameters are commonly required; the ones at the end of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the list are required only for iSCSI targets (see below).</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Name of the storage controller. Mandatory. The list of the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync storage controllers currently attached to a VM can be obtained
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync with <computeroutput>VBoxManage showvminfo</computeroutput>; see
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>The number of the storage controller's port which is to be
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync modified. Mandatory.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>The number of the port's device which is to be modified.
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Mandatory.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Define the type of the drive to which the medium is being
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync attached/detached/modified. This argument can only be omitted if
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the type of medium can be determined from either the medium given
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync with the <computeroutput>--medium</computeroutput> argument or
174f11bbd5c277153742aa5e6c3bd640bf379547vboxsync from a previous medium attachment.</para>
1568d715e75b8d2484ea3dc87f0483d4cf377838vboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
80e46f984efd827517661c0e081a36014ca41af8vboxsync <para>Specifies what is to be attached. The following values are
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync supported:<itemizedlist>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"none": Any existing device should be removed from the
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync given slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"emptydrive": For a virtual DVD or floppy drive only,
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync this makes the device slot behaves like a removeable drive
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync into which no media has been inserted.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>If a UUID is specified, it must be the UUID of a
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync storage medium that is already known to VirtualBox (e.g.
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync because it has been attached to another virtual machine).
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync See <xref linkend="vboxmanage-list" /> for how to list known
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync media. This medium is then attached to the given device
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>If a filename is specified, it must be the full path
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync of an existing disk image (ISO, RAW, VDI, VMDK or other),
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync which is then attached to the given device slot.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"host:<drive>": For a virtual DVD or floppy
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync drive only, this connects the given device slot to the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync specified DVD or floppy drive on the host computer.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>"iscsi": For virtual hard disks only, this allows for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync specifying an iSCSI target. In this case, more parameters
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync must be given; see below.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </listitem>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Some of the above changes, in particular for removeable
223935479ac42db56b7b7a7d16548d590022996avboxsync media (floppies and CDs/DVDs), can be effected while a VM is
174f11bbd5c277153742aa5e6c3bd640bf379547vboxsync running. Others (device changes or changes in hard disk device
174f11bbd5c277153742aa5e6c3bd640bf379547vboxsync slots) require the VM to be powered off.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
223935479ac42db56b7b7a7d16548d590022996avboxsync <para>Defines how this medium behaves with respect to snapshots
174f11bbd5c277153742aa5e6c3bd640bf379547vboxsync and write operations. See <xref linkend="hdimagewrites" /> for
174f11bbd5c277153742aa5e6c3bd640bf379547vboxsync details.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Any description that you want to have stored with this
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync medium (optional; for example, for an iSCSI target, "Big storage
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync server downstairs"). This is purely descriptive and not needed for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the medium to function correctly.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>For a virtual DVD drive only, you can enable DVD writing
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync support (currently experimental; see <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Sets the bandwidth group to use for the given device; see
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>For a virtual DVD or floppy drive only, this forcibly
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync unmounts the DVD/CD/Floppy or mounts a new DVD/CD/Floppy even if
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync the previous one is locked down by the guest for reading. Again,
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync see <xref linkend="storage-cds" /> for details.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>When "iscsi" is used with the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <computeroutput>--medium</computeroutput> parameter for iSCSI support --
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync see <xref linkend="storage-iscsi" /> --, additional parameters must or can
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync be used:<glosslist>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>The host name or IP address of the iSCSI target;
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync required.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Target name string. This is determined by the iSCSI target
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync and used to identify the storage resource; required.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>TCP/IP port number of the iSCSI service on the target
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync (optional).</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Logical Unit Number of the target resource (optional).
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Often, this value is zero.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
80e46f984efd827517661c0e081a36014ca41af8vboxsync <para>Username and password for target authentication, if required
80e46f984efd827517661c0e081a36014ca41af8vboxsync (optional).<note>
80e46f984efd827517661c0e081a36014ca41af8vboxsync <para>Currently, username and password are stored without
80e46f984efd827517661c0e081a36014ca41af8vboxsync encryption (i.e. in clear text) in the XML machine
80e46f984efd827517661c0e081a36014ca41af8vboxsync configuration file.</para>
80e46f984efd827517661c0e081a36014ca41af8vboxsync </glossdef>
80e46f984efd827517661c0e081a36014ca41af8vboxsync </glossentry>
80e46f984efd827517661c0e081a36014ca41af8vboxsync <glossentry>
80e46f984efd827517661c0e081a36014ca41af8vboxsync <para>If specified, connect to the iSCSI target via Internal
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync Networking. This needs further configuration which is described in
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync <para>This command attaches/modifies/removes a storage controller. After
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync this, virtual media can be attached to the controller with the
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync <computeroutput>storageattach</computeroutput> command (see the next
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync section).</para>
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync <screen>VBoxManage storagectl <uuid|vmname>
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync --name <name>
1e9377d042fa2ea3e2cd78805678f23f64db55f6vboxsync [--controller <LsiLogic|LSILogicSAS|BusLogic|
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync IntelAhci|PIIX3|PIIX4|ICH6|I82078>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--sataideemulation<1-4> <1-30>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--sataportcount <1-30>]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--hostiocache on|off]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--bootable on|off]
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync [--remove]</screen>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Name of the storage controller. Mandatory.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync </glossentry>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Define the type of the system bus to which the storage
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync controller must be connected.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Allows to choose the type of chipset being emulated for the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync given storage controller.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This specifies which SATA ports should operate in IDE
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync emulation mode. As explained in <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync linkend="harddiskcontrollers" />, by default, this is the case for
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync SATA ports 1-4; with this command, you can map four IDE channels
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync to any of the 30 supported SATA ports.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>This determines how many ports the SATA controller should
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync support.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Configures the use of the host I/O cache for all disk images
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync attached to this storage controller. For details, please see <xref
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <para>Selects whether this controller is bootable.</para>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync <glossentry>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>Removes the storage controller from the VM config.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>This command creates/deletes/modifies bandwidth groups of the given
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync virtual machine:<screen>VBoxManage bandwidthctl <uuid|vmname>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync --name <name>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync [--add disk
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>See <xref linkend="storage-bandwidth-limit" /> for an introduction
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync to bandwidth limits. The parameters mean:<glosslist>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Name of the bandwidth group. Mandatory.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Creates a new bandwdith group with the given type.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Deletes a bandwdith group if it isn't used anymore.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Sets the limit for the given group to the specified amount.
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync Can be changed while the VM is running.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>This command shows information about a virtual hard disk image,
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync notably its size, its size on disk, its type and the virtual machines
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync which use it.<note>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>For compatibility with earlier versions of VirtualBox, the
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync "showvdiinfo" command is also supported and mapped internally to the
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync "showhdinfo" command.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>This command creates a new virtual hard disk image. The syntax is as
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync follows:</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <screen>VBoxManage createhd --filename <filename>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync --size <megabytes>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync [--format VDI|VMDK|VHD] (default: VDI)
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]</screen>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
0839fbd6b31c4c9a2ea76750df48a30dffd4ad77vboxsync <para>Allows to choose a file name. Mandatory.</para>
0839fbd6b31c4c9a2ea76750df48a30dffd4ad77vboxsync </glossdef>
0839fbd6b31c4c9a2ea76750df48a30dffd4ad77vboxsync </glossentry>
0839fbd6b31c4c9a2ea76750df48a30dffd4ad77vboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Allows to define the image capacity, in 1 MiB units.
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync Mandatory.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Allows to choose a file format for the output file different
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync from the file format of the input file.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Allows to choose a file format variant for the output file.
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync It is a comma-separated list of variant flags. Not all
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync combinations are supported, and specifying inconsistent flags will
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync result in an error message.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossdef>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </glossentry>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>For compatibility with earlier versions of VirtualBox, the
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync "createvdi" command is also supported and mapped internally to the
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync "createhd" command.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>With the <computeroutput>modifyhd</computeroutput> command, you can
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync change the characteristics of a disk image after it has been
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync created:<screen>VBoxManage modifyhd <uuid>|<filename>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--type normal|writethrough|immutable|shareable|
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync readonly|multiattach]
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--autoreset on|off]
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--compact]
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync [--resize <megabytes>|--resizebyte <bytes>]</screen><note>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>Despite the "hd" in the subcommand name, the command works with
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync all disk images, not only hard disks. For compatibility with earlier
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync versions of VirtualBox, the "modifyvdi" command is also supported and
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync mapped internally to the "modifyhd" command.</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>The following options are available:<itemizedlist>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>With the <computeroutput>--type</computeroutput> argument, you
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync can change the type of an existing image between the normal,
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync immutable, write-through and other modes; see <xref
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </listitem>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <para>For immutable (differencing) hard disks only, the
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync <computeroutput>--autoreset on|off</computeroutput> option
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync determines whether the disk is automatically reset on every VM
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync startup (again, see <xref linkend="hdimagewrites" />). The default
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync is "on".</para>
fa2d3f7a92b98db2c47964694f4b7e1aa67a3b10vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>With the <computeroutput>--compact</computeroutput> option,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can be used to compact disk images, i.e. remove blocks that only
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync contains zeroes. This will shrink a dynamically expanding image
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync again; it will reduce the <emphasis>physical</emphasis> size of the
cf289c84a0ecd24e5808b46b70d545cdc2c8805cvboxsync image without affecting the logical size of the virtual disk.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Compaction works both for base images and for diff images created as
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync part of a snapshot.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For this operation to be effective, it is required that free
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync space in the guest system first be zeroed out using a suitable
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync software tool. For Windows guests, you can use the
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync <computeroutput>sdelete</computeroutput> tool provided by Microsoft.
daacce0855b2731a7aefe21b6ee55af6546fcf38vboxsync Execute <computeroutput>sdelete -c</computeroutput> in the guest to
daacce0855b2731a7aefe21b6ee55af6546fcf38vboxsync zero the free disk space before compressing the virtual disk
daacce0855b2731a7aefe21b6ee55af6546fcf38vboxsync image. For Linux, use the <code>zerofree</code> utility which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Please note that compacting is currently only available for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VDI images. A similar effect can be achieved by zeroing out free
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync blocks and then cloning the disk to any other dynamically expanding
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync format. You can use this workaround until compacting is also
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync supported for disk formats other than VDI.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The --resize option allows you to expand the capacity of an
25e9e0a33eafedabbd0628909c4973b91283a8c7vboxsync existing image; this increases the <emphasis>logical</emphasis> size
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of a virtual disk without affecting the physical size much.<footnote>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Image resizing was added with VirtualBox 4.0.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </footnote> This currently works only for the VDI and VHD formats,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync and only for the dynamically expanding variants. For example, if you
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync originally created a 10G disk which is now full, you can use the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --resize command to add more space to the virtual disk without
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync having to create a new image and copy all data from within a virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command duplicates a registered virtual hard disk image to a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync new image file with a new unique identifier (UUID). The new image can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync transferred to another host system or imported into VirtualBox again using
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the Virtual Media Manager; see <xref linkend="vdis" /> and <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="cloningvdis" />. The syntax is as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage clonehd <uuid>|<filename> <outputfile>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--format VDI|VMDK|VHD|RAW|<other>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--existing]</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allow to choose a file format for the output file different
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync from the file format of the input file.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Allow to choose a file format variant for the output file.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync It is a comma-separated list of variant flags. Not all
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync combinations are supported, and specifying inconsistent flags will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync result in an error message.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>Perform the clone operation to an already existing
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync destination medium. Only the portion of the source medium which
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync fits into the destination medium is copied. This means if the
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync destination medium is smaller than the source only a part of it is
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync copied, and if the destination medium is larger than the source
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync the remaining part of the destination medium is unchanged.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </glossdef>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>For compatibility with earlier versions of VirtualBox, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "clonevdi" command is also supported and mapped internally to the
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync "clonehd" command.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>This command converts a raw disk image to a VirtualBox Disk Image
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync (VDI) file. The syntax is as follows:</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <screen>VBoxManage convertfromraw <filename> <outputfile>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--format VDI|VMDK|VHD]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsyncVBoxManage convertfromraw stdin <outputfile> <bytes>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--format VDI|VMDK|VHD]
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync [--variant Standard,Fixed,Split2G,Stream,ESX]</screen>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <glossentry>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>Select the disk image format to create. Default is
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync VDI.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </glossdef>
59646d8d07562768e775ed80bff000aa76e217a6vboxsync </glossentry>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <glossentry>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>Allow to choose a file format variant for the output file.
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync It is a comma-separated list of variant flags. Not all
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync combinations are supported, and specifying inconsistent flags will
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync result in an error message.</para>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync </glossdef>
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync </glossentry>
fb59c22133d295bda67901bbe4bc799d4448a368vboxsync </glosslist> The second form forces VBoxManage to read the content for
fb59c22133d295bda67901bbe4bc799d4448a368vboxsync the disk image from standard input (useful for using that command in a
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync pipe).</para>
59646d8d07562768e775ed80bff000aa76e217a6vboxsync <para>For compatibility with earlier versions of VirtualBox, the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync "convertdd" command is also supported and mapped internally to the
859c9a7cc74066a52cf7e76d54169859e7705c3dvboxsync "convertfromraw" command.</para>
0ed1a93b0d1a04f19b1d7be9624fa1515b3235e6vboxsync <title>VBoxManage getextradata/setextradata</title>
0ed1a93b0d1a04f19b1d7be9624fa1515b3235e6vboxsync <para>These commands let you attach and retrieve string data to a virtual
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync machine or to a VirtualBox configuration (by specifying
0ed1a93b0d1a04f19b1d7be9624fa1515b3235e6vboxsync <computeroutput>global</computeroutput> instead of a virtual machine
59646d8d07562768e775ed80bff000aa76e217a6vboxsync name). You must specify a key (as a text string) to associate the data
0ed1a93b0d1a04f19b1d7be9624fa1515b3235e6vboxsync with, which you can later use to retrieve it. For example:</para>
0ed1a93b0d1a04f19b1d7be9624fa1515b3235e6vboxsync <screen>VBoxManage setextradata Fedora5 installdate 2006.01.01
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsyncVBoxManage setextradata SUSE10 installdate 2006.02.02</screen>
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync <para>would associate the string "2006.01.01" with the key installdate for
c6fefcb9f75c3966a630265ee5d3f5344bec12b4vboxsync the virtual machine Fedora5, and "2006.02.02" on the machine SUSE10. You
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync could retrieve the information as follows:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage getextradata Fedora5 installdate</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VirtualBox Command Line Management Interface Version $VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync(C) 2005-$VBOX_C_YEAR $VBOX_VENDOR
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncAll rights reserved.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsyncValue: 2006.01.01</screen>
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync <para>This command is used to change global settings which affect the
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync entire VirtualBox installation. Some of these correspond to the settings
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync in the "Global settings" dialog in the graphical user interface. The
63d009675e883e8eb327cb02a6735d16f5f46d4dvboxsync following properties are available:<glosslist>
daacce0855b2731a7aefe21b6ee55af6546fcf38vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This specifies the default folder in which virtual machine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync definitions are kept; see <xref linkend="vboxconfigdata" /> for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This specifies which library to use when "external"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync authentication has been selected for a particular virtual machine;
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync see <xref linkend="vbox-auth" /> for details.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync <para>This specifies which library the web service uses to
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync authenticate users. For details about the VirtualBox web service,
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync please refer to the separate VirtualBox SDK reference (see <xref
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync </glossdef>
085a27f357b04458f6cdf3ba497eaa54ac5a128fvboxsync </glossentry>
17014a9ecba37ba2cd8919ec9f040ceb9c2a5445vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This specifies which library implements the VirtualBox
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Remote Desktop Extension.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This selects whether or not hardware virtualization support
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync is enabled by default.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <title>VBoxManage usbfilter add/modify/remove</title>
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync <para>The <computeroutput>usbfilter</computeroutput> commands are used for
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync working with USB filters in virtual machines, or global filters which
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync affect the whole VirtualBox setup. Global filters are applied before
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine-specific filters, and may be used to prevent devices from being
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync captured by any virtual machine. Global filters are always applied in a
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync particular order, and only the first filter which fits a device is
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync applied. So for example, if the first global filter says to hold (make
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync available) a particular Kingston memory stick device and the second to
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync ignore all Kingston devices, that memory stick will be available to any
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync machine with an appropriate filter, but no other Kingston device
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync will.</para>
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync <para>When creating a USB filter using <computeroutput>usbfilter
daddbb5e85f120545b63dc235209bd43a3a1736avboxsync add</computeroutput>, you must supply three or four mandatory parameters.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync The index specifies the position in the list at which the filter should be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync placed. If there is already a filter at that position, then it and the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync following ones will be shifted back one place. Otherwise the new filter
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync will be added onto the end of the list. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>target</computeroutput> parameter selects the virtual
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync machine that the filter should be attached to or use "global" to apply it
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync to all virtual machines. <computeroutput>name</computeroutput> is a name
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for the new filter and for global filters,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>action</computeroutput> says whether to allow machines
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync access to devices that fit the filter description ("hold") or not to give
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync them access ("ignore"). In addition, you should specify parameters to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync filter by. You can find the parameters for devices attached to your system
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync using <computeroutput>VBoxManage list usbhost</computeroutput>. Finally,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can specify whether the filter should be active, and for local
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync filters, whether they are for local devices, remote (over an RDP
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync connection) or either.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>When you modify a USB filter using <computeroutput>usbfilter
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync modify</computeroutput>, you must specify the filter by index (see the
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync output of <computeroutput>VBoxManage list usbfilters</computeroutput> to
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync find global filter indexes and that of <computeroutput>VBoxManage
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync showvminfo</computeroutput> to find indexes for individual machines) and
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync by target, which is either a virtual machine or "global". The properties
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync which can be changed are the same as for <computeroutput>usbfilter
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync add</computeroutput>. To remove a filter, use <computeroutput>usbfilter
36159dd2122bfe6f3cc172b6c6c4323a02cee365vboxsync remove</computeroutput> and specify the index and the target.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>This command allows you to share folders on the host computer with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest operating systems. For this, the guest systems must have a version
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the VirtualBox Guest Additions installed which supports this
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync functionality.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Shared folders are described in detail in <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The "guestproperty" commands allow you to get or set properties of a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running virtual machine. Please see <xref linkend="guestadd-guestprops" />
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync for an introduction. As explained there, guest properties are arbitrary
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync key/value string pairs which can be written to and read from by either the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest or the host, so they can be used as a low-volume communication
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync channel for strings, provided that a guest is running and has the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions installed. In addition, a number of values whose keys begin with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "/VirtualBox/" are automatically set and maintained by the Guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync Additions.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following subcommands are available (where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><vm></computeroutput>, in each case, can either be a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>enumerate <vm> [--patterns
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <pattern>]</computeroutput>: This lists all the guest
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync properties that are available for the given VM, including the value.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync This list will be very limited if the guest's service process cannot
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be contacted, e.g. because the VM is not running or the Guest
438dd62b5c796170381bedd039e4d946b1625630vboxsync Additions are not installed.</para>
91df5a9e634997e09e1a2d952a1a0325735d627fvboxsync <para>If <computeroutput>--patterns <pattern></computeroutput>
91df5a9e634997e09e1a2d952a1a0325735d627fvboxsync is specified, it acts as a filter to only list properties that match
91df5a9e634997e09e1a2d952a1a0325735d627fvboxsync the given pattern. The pattern can contain the following wildcard
91df5a9e634997e09e1a2d952a1a0325735d627fvboxsync characters:<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>*</computeroutput> (asterisk):
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync represents any number of characters; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>/VirtualBox*</computeroutput>" would match
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync all properties beginning with "/VirtualBox".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>?</computeroutput> (question mark):
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync represents a single arbitrary character; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>fo?</computeroutput>" would match both "foo"
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync and "for".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>|</computeroutput> (pipe symbol): can be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync used to specify multiple alternative patterns; for example,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<computeroutput>s*|t*</computeroutput>" would match anything
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync starting with either "s" or "t".</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>get <vm></computeroutput>: This
9c0076729ec8138e89ce8a6af9a772b68f1f8dc7vboxsync retrieves the value of a single property only. If the property
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync cannot be found (e.g. because the guest is not running), this will
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>set <vm> <property> [<value>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--flags <flags>]]</computeroutput>: This allows you to set a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync guest property by specifying the key and value. If
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><value></computeroutput> is omitted, the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync property is deleted. With <computeroutput>--flags</computeroutput>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync you can optionally specify additional behavior (you can combine
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync several by separating them with commas):<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>TRANSIENT</computeroutput>: the value
3933885bc0c2c93436d858a14564c6179ec72872vboxsync will not be stored with the VM data when the VM exits;</para>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync </listitem>
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync <para><computeroutput>TRANSRESET</computeroutput>: the value
64863d3a0ffadf1ac248b295b78be5d55db6ee13vboxsync will be deleted as soon as the VM restarts and/or exits;</para>
3933885bc0c2c93436d858a14564c6179ec72872vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>RDONLYGUEST</computeroutput>: the value
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync can only be changed by the host, but the guest can only read
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>RDONLYHOST</computeroutput>: reversely,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync the value can only be changed by the guest, but the host can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync only read it;</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>READONLY</computeroutput>: a combination
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync of the two, the value cannot be changed at all.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>wait <vm> <pattern> --timeout
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <timeout></computeroutput>: This waits for a particular value
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync described by "pattern" to change or to be deleted or created. The
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync pattern rules are the same as for the "enumerate" subcommand
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync above.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </listitem>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The "guestcontrol" commands allow you to control certain things
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync inside a guest from the host. Please see <xref
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync linkend="guestadd-guestcontrol" /> for an introduction.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage guestcontrol <command></screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>The following subcommands are available (where
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput><vm></computeroutput>, in each case, can either be a
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync VM name or a VM UUID, as with the other VBoxManage commands):<itemizedlist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para><computeroutput>execute</computeroutput>, which allows for
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync executing a program/script (process) which is already installed and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync runnable on the guest. This command only works while a VM is up and
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync running and has the following syntax:</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <screen>VBoxManage guestcontrol <vmname>|<uuid> exec[ute]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <path to program>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync --username <name> --password <password>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--arguments "<arguments>"]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--flags <flags>] [--timeout <msec>]
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync [--verbose] [--wait-for exit,stdout,stderr||]</screen>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>Absolute path and process name of process to execute
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync in the guest, e.g.
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>C:\Windows\System32\calc.exe</computeroutput></para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossdef>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossentry>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <glossterm>--arguments "<arguments>"</glossterm>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>One or more arguments to pass to the process being
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync executed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Arguments containing spaces must be enclosed in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync quotation marks. More than one
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--arguments</computeroutput> at a time can
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync be specified to keep the command line tidy.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossterm>--environment
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync "<NAME>=<VALUE>"</glossterm>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>One or more environment variables to be set or
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync unset.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>By default, the new process in the guest will be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync created with the standard environment of the guest OS. This
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync option allows for modifying that environment. To set/modify
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync a variable, a pair of
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>NAME=VALUE</computeroutput> must be
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync specified; to unset a certain variable, the name with no
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync value must set, e.g.
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Arguments containing spaces must be enclosed in
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync quotation marks. More than one
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--environment</computeroutput> at a time can
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync be specified to keep the command line tidy.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Additional flags to set. This is not used at the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync moment.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Value (in milliseconds) that specifies the time how
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync long the started process is allowed to run and how long
a8ce9568e18b8c1a49833bf3b3ac2b2cc634b13cvboxsync VBoxManage waits for getting output from that process. If no
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync timeout is specified, VBoxManage will wait forever until the
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync started process ends or an error occured.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Name of the user the process should run under. This
42d23b3e34a524ac2ceb195e960cdedfb591f5cavboxsync user must exist on the guest OS.</para>
dae86d7bd26c4030c4cfa21231757d1a12f50bf8vboxsync </glossdef>
42d23b3e34a524ac2ceb195e960cdedfb591f5cavboxsync </glossentry>
42d23b3e34a524ac2ceb195e960cdedfb591f5cavboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Password of the user account specified with
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <computeroutput>--username</computeroutput>. If not given,
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync an empty password is assumed.</para>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Tells VBoxManage to wait for a certain action to
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync happen and react to it. The following actions are available:
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glosslist>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Waits until the process ends and outputs its
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Waits until the process ends and outputs its
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync that VBoxManage retrieves the output collected from
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync the guest process's stdout and stderr.</para>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync </glossdef>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <para>On Windows there are certain limitations for graphical
4fac78486305f1f002adbf23953382e5d832af94vboxsync applications; please see <xref linkend="KnownIssues" /> for more
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync information.</para>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </note> Examples: <screen>VBoxManage --nologo guestcontrol execute "My VM" "/bin/ls" --arguments "-l /usr"
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync --username foo --password bar --wait-for stdout</screen> <screen>VBoxManage --nologo guestcontrol execute "My VM" "c:\\windows\\system32\\ipconfig.exe"
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync --username foo --password bar --wait-for stdout</screen> Note that
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync the double backslashes in the second example are only required on
4fac78486305f1f002adbf23953382e5d832af94vboxsync Unix hosts.</para>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para><computeroutput>copyto</computeroutput>, which allows copying
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync files from the host to the guest (only with installed Guest
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync Additions 4.0 and later).</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <screen>VBoxManage guestcontrol <vmname>|<uuid> copyto|cp
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <source on host> <destination on guest>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync --username <name> --password <password>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync [--dryrun] [--follow] [--recursive] [--verbose]</screen>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <para>Absolute path of source file(s) on host to copy over
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync to the guest, e.g.
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <computeroutput>C:\Windows\System32\calc.exe</computeroutput>.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync This also can be a wildcard expression, e.g.
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <computeroutput>C:\Windows\System32\*.dll</computeroutput></para>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossdef>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossdef>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Name of the user the copy process should run under.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync This user must exist on the guest OS.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Password of the user account specified with
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--username</computeroutput>. If not given,
223935479ac42db56b7b7a7d16548d590022996avboxsync an empty password is assumed.</para>
223935479ac42db56b7b7a7d16548d590022996avboxsync </glossdef>
223935479ac42db56b7b7a7d16548d590022996avboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Tells VBoxManage to only perform a dry run instead of
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync really copying files to the guest.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Enables following symlinks on the host's
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync source.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Recursively copies files/directories of the specified
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync source.</para>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Additional flags to set. This is not used at the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync moment.</para>
4fac78486305f1f002adbf23953382e5d832af94vboxsync </glossdef>
4fac78486305f1f002adbf23953382e5d832af94vboxsync </glossentry>
4fac78486305f1f002adbf23953382e5d832af94vboxsync </listitem>
4fac78486305f1f002adbf23953382e5d832af94vboxsync <para><computeroutput>createdirectory</computeroutput>, which allows
4fac78486305f1f002adbf23953382e5d832af94vboxsync copying files from the host to the guest (only with installed Guest
4fac78486305f1f002adbf23953382e5d832af94vboxsync Additions 4.0 and later).</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <screen>VBoxManage guestcontrol <vmname>|<uuid> createdir[ectory]|mkdir|md
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <directory to create on guest>
4fac78486305f1f002adbf23953382e5d832af94vboxsync [--username "<name>"] [--password "<password>"]
4fac78486305f1f002adbf23953382e5d832af94vboxsync [--parents] [--mode <mode>] [--verbose]</screen>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
4fac78486305f1f002adbf23953382e5d832af94vboxsync </glossdef>
4fac78486305f1f002adbf23953382e5d832af94vboxsync </glossentry>
4fac78486305f1f002adbf23953382e5d832af94vboxsync <glossentry>
4fac78486305f1f002adbf23953382e5d832af94vboxsync <glossterm>directory to create on guest</glossterm>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <para>Absolute path of directory/directories to create on
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync guest, e.g. <computeroutput>D:\Foo\Bar</computeroutput>.
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync Parent directories need to exist (e.g. in this example
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <computeroutput>D:\Foo</computeroutput>) when switch
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <computeroutput>--parents</computeroutput> is omitted. The
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync specified user must have appropriate rights to create the
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync specified directory.</para>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossdef>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Name of the user the copy process should run under.
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync This user must exist on the guest OS.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync </glossentry>
b2caf87457abb2a237a2e5c0e5ad26154c7954b9vboxsync <glossentry>
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync <para>Password of the user account specified with
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync <computeroutput>--username</computeroutput>. If not given,
ce951a49b91e2bcee3a8ee55353285423966e10dvboxsync an empty password is assumed.</para>
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync </glossdef>
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync </glossentry>
a09f9bd6f269c00ac1249f85f4d45aa978a8bc2evboxsync <glossentry>
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync <para>Also creates not yet existing parent directories of
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync the specified directory, e.g. if the directory
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync <computeroutput>D:\Foo\Bar</computeroutput> does not exist
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync yet it will be created. Without specifying
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync <computeroutput>--parent</computeroutput> the action would
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync have failed.</para>
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync </glossdef>
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync </glossentry>
9ce778d861807ac39e2be5be9e458e4f5dff0c76vboxsync <glossentry>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync <para>Sets the permission mode of the specified directory.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync Only octal modes (e.g.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>0755</computeroutput>) are supported right
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync now.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync </glossentry>
be64e0028fd1621fde0e5973d11a104a85b7301dvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para><computeroutput>updateadditions</computeroutput>, which allows
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync for updating an already installed Guest Additions version on the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync guest (only already installed Guest Additions 4.0 and later).</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <screen>VBoxManage guestcontrol updateadditions <vmname>|<uuid>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync [--source "<guest additions .ISO file to use>"] [--verbose]</screen>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossterm>--source "<guest additions .ISO file to
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync use>"</glossterm>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>Full path to an alternative VirtualBox Guest Additions
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync .ISO file to use for the Guest Additions update.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>The "debugvm" commands are for experts who want to tinker with the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync exact details of virtual machine execution. Like the VM debugger described
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync in <xref linkend="debugger" />, these commands are only useful if you are
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync very familiar with the details of the PC architecture and how to debug
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync software.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>The subcommands of "debugvm" all operate on a running virtual
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync machine. The following are available:<itemizedlist>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>With <computeroutput>dumpguestcore --filename
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync <name></computeroutput>, you can create a system dump of the
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync running VM, which will be written into the given file. This file
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync will have the standard ELF core format (with custom sections); see
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>This corresponds to the
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync <computeroutput>writecore</computeroutput> command in the debugger.
c7c82344f2d7b1d7e2117d778e29e8c1c4e1049evboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>The <computeroutput>info</computeroutput> command is used to
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync display info items relating to the VMM, device emulations and
241adddf415cbdf66230864a215b24415f482e72vboxsync associated drivers. This command takes one or two arguments: the
241adddf415cbdf66230864a215b24415f482e72vboxsync name of the info item, optionally followed by a string containing
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync arguments specific to the info item.
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync The <computeroutput>help</computeroutput> info item provides a
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync listning of the available items and hints about any optional
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync arguments.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>This corresponds to the <computeroutput>info</computeroutput>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync command in the debugger.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>The <computeroutput>injectnmi</computeroutput> command causes
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync a non-maskable interrupt (NMI) in the guest, which might be useful
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync for certain debugging scenarios. What happens exactly is dependent
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync on the guest operating system, but an NMI can crash the whole guest
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync operating system. Do not use unless you know what you're
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync doing.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </listitem>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <para>The <computeroutput>osdetect</computeroutput> command makes the
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync VMM's debugger facility (re-)detection the guest operation
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync system.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>This corresponds to the <computeroutput>detect</computeroutput>
241adddf415cbdf66230864a215b24415f482e72vboxsync command in the debugger.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>The <computeroutput>osinfo</computeroutput> command is used to
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync display info about the operating system (OS) detected by the VMM's
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync debugger facility.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>The <computeroutput>getregisters</computeroutput> command is
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync used to display CPU and device registers. The command takes a list
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync of registers, each having one of the following forms:
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <itemizedlist>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>register-set.register-name.sub-field</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>register-set.register-name</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>cpu-register-name.sub-field</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>cpu-register-name</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>all</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </itemizedlist>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync The <computeroutput>all</computeroutput> form will cause all
241adddf415cbdf66230864a215b24415f482e72vboxsync registers to be shown (no sub-fields). The registers names are
241adddf415cbdf66230864a215b24415f482e72vboxsync case-insensitive. When requesting a CPU register the register set
241adddf415cbdf66230864a215b24415f482e72vboxsync can be omitted, it will be selected using the value of the
241adddf415cbdf66230864a215b24415f482e72vboxsync <computeroutput>--cpu</computeroutput> option (defaulting to 0).
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>The <computeroutput>setregisters</computeroutput> command is
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync used to change CPU and device registers. The command takes a list
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync of register assignments, each having one of the following forms:
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <itemizedlist>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>register-set.register-name.sub-field=value</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>register-set.register-name=value</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>cpu-register-name.sub-field=value</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <listitem><computeroutput>cpu-register-name=value</computeroutput></listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </itemizedlist>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync The value format should be in the same style as what
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>getregisters</computeroutput> displays, with the
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync exception that both octal and decimal can be used instead of
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync hexadecimal. The register naming and the default CPU register set
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync are handled the same way as with the
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>getregisters</computeroutput> command.</para>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync </listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>The <computeroutput>statistics</computeroutput> command can be
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync used to display VMM statistics on the command line. The
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>--reset</computeroutput> option will reset
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync statistics. The affected statistics can be filtered with the
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>--pattern</computeroutput> option, which accepts
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync DOS/NT-style wildcards (<computeroutput>?</computeroutput> and
241adddf415cbdf66230864a215b24415f482e72vboxsync </listitem>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>This command supports monitoring the usage of system resources.
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync Resources are represented by various metrics associated with the host
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync system or a particular VM. For example, the host system has a
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <computeroutput>CPU/Load/User</computeroutput> metric that shows the
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync percentage of time CPUs spend executing in user mode over a specific
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync sampling period.</para>
241adddf415cbdf66230864a215b24415f482e72vboxsync <para>Metric data is collected and retained internally; it may be
241adddf415cbdf66230864a215b24415f482e72vboxsync retrieved at any time with the <computeroutput>VBoxManage metrics
241adddf415cbdf66230864a215b24415f482e72vboxsync query</computeroutput> subcommand. The data is available as long as the
241adddf415cbdf66230864a215b24415f482e72vboxsync background <computeroutput>VBoxSVC</computeroutput> process is alive. That
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync process terminates shortly after all VMs and frontends have been
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync closed.</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <para>By default no metrics are collected at all. Metrics collection does
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync not start until <computeroutput>VBoxManage metrics setup</computeroutput>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync is invoked with a proper sampling interval and the number of metrics to be
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync retained. The interval is measured in seconds. For example, to enable
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync collecting the host processor and memory usage metrics every second and
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync keeping the 5 most current samples, the following command can be
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync used:</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <screen>VBoxManage metrics setup --period 1 --samples 5 host CPU/Load,RAM/Usage</screen>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>Metric collection can only be enabled for started VMs. Collected
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync data and collection settings for a particular VM will disappear as soon as
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync it shuts down. Use <computeroutput>VBoxManage metrics list
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync </computeroutput> subcommand to see which metrics are currently available.
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync You can also use <computeroutput>--list</computeroutput> option with any
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync subcommand that modifies metric settings to find out which metrics were
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync affected.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>Note that the <computeroutput>VBoxManage metrics
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync setup</computeroutput> subcommand discards all samples that may have been
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync previously collected for the specified set of objects and metrics.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>To enable or disable metrics collection without discarding the data
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <computeroutput>VBoxManage metrics enable</computeroutput> and
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <computeroutput>VBoxManage metrics disable</computeroutput> subcommands
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync can be used. Note that these subcommands expect metrics, not submetrics,
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync like <code>CPU/Load</code> or <code>RAM/Usage</code> as parameters. In
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync other words enabling <code>CPU/Load/User</code> while disabling
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <code>CPU/Load/Kernel</code> is not supported.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>The host and VMs have different sets of associated metrics.
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync Available metrics can be listed with <computeroutput>VBoxManage metrics
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>A complete metric name may include an aggregate function. The name
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync has the following form:
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <computeroutput>Category/Metric[/SubMetric][:aggregate]</computeroutput>.
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync For example, <computeroutput>RAM/Usage/Free:min</computeroutput> stands
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync for the minimum amount of available memory over all retained data if
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync applied to the host object.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>Subcommands may apply to all objects and metrics or can be limited
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync to one object or/and a list of metrics. If no objects or metrics are given
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync in the parameters, the subcommands will apply to all available metrics of
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync all objects. You may use an asterisk
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync ("<computeroutput>*</computeroutput>") to explicitly specify that the
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync command should be applied to all objects or metrics. Use "host" as the
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync object name to limit the scope of the command to host-related metrics. To
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync limit the scope to a subset of metrics, use a metric list with names
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync separated by commas.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>For example, to query metric data on the CPU time spent in user and
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync kernel modes by the virtual machine named "test", you can use the
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync following command:</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <screen>VBoxManage metrics query test CPU/Load/User,CPU/Load/Kernel</screen>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>The following list summarizes the available subcommands:</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <glosslist>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <glossentry>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync <para>This subcommand shows the parameters of the currently existing
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync metrics. Note that VM-specific metrics are only available when a
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync particular VM is running.</para>
8782e654b5a355600d165b6e0bb761b8f4e769fdvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <para>This subcommand sets the interval between taking two samples
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync of metric data and the number of samples retained internally. The
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync retained data is available for displaying with the
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <code>query</code> subcommand. The <computeroutput>--list
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </computeroutput> option shows which metrics have been modified as
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync the result of the command execution.</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <glossentry>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <para>This subcommand "resumes" data collection after it has been
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync stopped with <code>disable</code> subcommand. Note that specifying
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync submetrics as parameters will not enable underlying metrics. Use
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync <computeroutput>--list</computeroutput> to find out if the command
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync did what was expected.</para>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossdef>
7d4cc79a42576698766fa0ef3dc778a638bb8c5dvboxsync </glossentry>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <glossentry>
600aa226ad717126f47ed8a0e0d5ed30deb83d89vboxsync <para>This subcommand "suspends" data collection without affecting
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync collection parameters or collected data. Note that specifying
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync submetrics as parameters will not disable underlying metrics. Use
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync <computeroutput>--list</computeroutput> to find out if the command
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync did what was expected.</para>
1522fd0a1b3f8a389582eaf96f3980cfe141547cvboxsync </glossdef>
febf3f1de573e25fb134b8453a22b0732b4c52e2vboxsync </glossentry>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <glossentry>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>This subcommand retrieves and displays the currently retained
438dd62b5c796170381bedd039e4d946b1625630vboxsync metric data.<note>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The <code>query</code> subcommand does not remove or
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync "flush" retained data. If you query often enough you will see
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync how old samples are gradually being "phased out" by new
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync samples.</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync </glossdef>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync </glossentry>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <glossentry>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>This subcommand sets the interval between taking two samples
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync of metric data and the number of samples retained internally. The
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync collected data is displayed periodically until Ctrl-C is pressed
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync unless the <computeroutput>--detach</computeroutput> option is
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync specified. With the <computeroutput>--detach</computeroutput>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync option, this subcommand operates the same way as <code>setup</code>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync does. The <computeroutput>--list</computeroutput> option shows which
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync metrics match the specified filter.</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </glossdef>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </glossentry>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </glosslist>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>With "hostonlyif" you can change the IP configuration of a host-only
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync network interface. For a description of host-only networking, please
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync refer to <xref linkend="network_hostonly" />. Each host-only interface is
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync identified by a name and can either use the internal DHCP server or a
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync manual IP configuration (both IP4 and IP6).</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>The "dhcpserver" commands allow you to control the DHCP server that
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync is built into VirtualBox. You may find this useful when using internal or
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync host-only networking. (Theoretically, you can enable it for a bridged
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync network as well, but that will likely cause conflicts with other DHCP
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync servers in your physical network.)</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>Use the following command line options:<itemizedlist>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>If you use internal networking for a virtual network adapter
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync of a virtual machine, use <computeroutput>VBoxManage dhcpserver add
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync --netname <network_name></computeroutput>, where
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <computeroutput><network_name></computeroutput> is the same
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync network name you used with <computeroutput>VBoxManage modifyvm
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <vmname> --intnet<X>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </listitem>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>If you use host-only networking for a virtual network adapter
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync of a virtual machine, use <computeroutput>VBoxManage dhcpserver add
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync --ifname <hostonly_if_name></computeroutput> instead, where
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <computeroutput><hostonly_if_name></computeroutput> is the
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync same host-only interface name you used with
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <computeroutput>VBoxManage modifyvm <vmname>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync --hostonlyadapter<X>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>Alternatively, you can also use the --netname option as with
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync internal networks if you know the host-only network's name; you can
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync see the names with <computeroutput>VBoxManage list
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync hostonlyifs</computeroutput> (see <xref linkend="vboxmanage-list" />
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync above).</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </listitem>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>The following additional parameters are required when first adding a
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync DHCP server:<itemizedlist>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>With <computeroutput>--ip</computeroutput>, specify the IP
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync address of the DHCP server itself.</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </listitem>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>With <computeroutput>--netmask</computeroutput>, specify the
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync netmask of the network.</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </listitem>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <para>With <computeroutput>--lowerip</computeroutput> and
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <computeroutput>--upperip</computeroutput>, you can specify the
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync lowest and highest IP address, respectively, that the DHCP server
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync will hand out to clients.</para>
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync </listitem>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>Finally, you must specify <computeroutput>--enable</computeroutput>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync or the DHCP server will be created in the disabled state, doing
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync nothing.</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>After this, VirtualBox will automatically start the DHCP server for
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync given internal or host-only network as soon as the first virtual machine
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync which uses that network is started.</para>
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync <para>Reversely, use <computeroutput>VBoxManage dhcpserver
0baf641e1aa6493d1796a051e3f49c5f9e076dfcvboxsync remove</computeroutput> with the given <computeroutput>--netname
d36016c7e22c0a816c7eae1b6d53f46b7d180589vboxsync <network_name></computeroutput> or <computeroutput>--ifname
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <hostonly_if_name></computeroutput> to remove the DHCP server again
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync for the given internal or host-only network.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>To modify the settings of a DHCP server created earlier with
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>VBoxManage dhcpserver add</computeroutput>, you can use
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>VBoxManage dhcpserver modify</computeroutput> for a given
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync network or host-only interface name.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>The "extpack" command allows you to add or remove VirtualBox
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync extension packs, as described in <xref
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>To add a new extension pack, use <computeroutput>VBoxManage
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync extpack install <tarball></computeroutput>.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </listitem>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <para>To remove a previously installed extension pack, use
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>VBoxManage extpack uninstall
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <name></computeroutput>. You can use
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>VBoxManage list extpacks</computeroutput> to show
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync the names of the extension packs which are currently installed;
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync please see <xref linkend="vboxmanage-list" /> also. The optional
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync <computeroutput>--force</computeroutput> parameter can be used to
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync override the refusal of an extension pack to be uninstalled.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </listitem>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync cleanup</computeroutput> command can be used to remove temporary
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync files and directories that may have been left behind if a previous
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync install or uninstall command failed.</para>
30a7a1ba4558de8e809ab4bdbd82a713d67e59abvboxsync </listitem>