
Contents
8.11 VBoxManage export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
8.12 VBoxManage startvm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
8.13 VBoxManage controlvm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
8.14 VBoxManage discardstate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.15 VBoxManage adoptstate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.16 VBoxManage snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
8.17 VBoxManage closemedium . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
8.18 VBoxManage storageattach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
8.19 VBoxManage storagectl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
8.20 VBoxManage bandwidthctl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
8.21 VBoxManage showhdinfo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
8.22 VBoxManage createhd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
8.23 VBoxManage modifyhd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
8.24 VBoxManage clonehd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
8.25 VBoxManage convertfromraw . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
8.26 VBoxManage getextradata/setextradata . . . . . . . . . . . . . . . . . . . . . . . 144
8.27 VBoxManage setproperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
8.28 VBoxManage usbfilter add/modify/remove . . . . . . . . . . . . . . . . . . . . . 145
8.29 VBoxManage sharedfolder add/remove . . . . . . . . . . . . . . . . . . . . . . . 145
8.30 VBoxManage guestproperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
8.31 VBoxManage guestcontrol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
8.32 VBoxManage debugvm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
8.33 VBoxManage metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
8.34 VBoxManage hostonlyif . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
8.35 VBoxManage dhcpserver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
8.36 VBoxManage extpack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
9 Advanced topics 158
9.1 VBoxSDL, the simplified VM displayer . . . . . . . . . . . . . . . . . . . . . . . . 158
9.1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
9.1.2 Secure labeling with VBoxSDL . . . . . . . . . . . . . . . . . . . . . . . 158
9.1.3 Releasing modifiers with VBoxSDL on Linux . . . . . . . . . . . . . . . 159
9.2 Automated guest logons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
9.2.1 Automated Windows guest logons . . . . . . . . . . . . . . . . . . . . . 160
9.2.2 Automated Linux/Unix guest logons . . . . . . . . . . . . . . . . . . . . 161
9.3 Advanced configuration for Windows guests . . . . . . . . . . . . . . . . . . . . 164
9.3.1 Automated Windows system preparation . . . . . . . . . . . . . . . . . 164
9.4 Advanced configuration for Linux and Solaris guests . . . . . . . . . . . . . . . . 165
9.4.1 Manual setup of selected guest services on Linux . . . . . . . . . . . . . 165
9.4.2 Guest graphics and mouse driver setup in depth . . . . . . . . . . . . . 165
9.5 CPU hot-plugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
9.6 PCI passthrough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
9.7 Webcam passthrough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
9.7.1 Using a host webcam in the guest . . . . . . . . . . . . . . . . . . . . . 168
9.7.2 Windows hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
9.7.3 Mac OS X hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
9.7.4 Linux hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
9.8 Advanced display configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
9.8.1 Custom VESA resolutions . . . . . . . . . . . . . . . . . . . . . . . . . . 170
9.8.2 Configuring the maximum resolution of guests when using the
graphical frontend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
9.9 Advanced storage configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
9.9.1 Using a raw host hard disk from a guest . . . . . . . . . . . . . . . . . . 171
9.9.2 Configuring the hard disk vendor product data (VPD) . . . . . . . . . . 173
5