4 Guest Additions The previous chapter covered getting started with VirtualBox and installing operating systems in a virtual machine. For any serious and interactive use, the VirtualBox Guest Additions will make your life much easier by providing closer integration between host and guest and improving the interactive performance of guest systems. This chapter describes the Guest Additions in detail. 4.1 Introduction As mentioned in chapter 1.2, Some terminology, page 10, the Guest Additions are designed to be installed inside a virtual machine after the guest operating system has been installed. They consist of device drivers and system applications that optimize the guest operating system for better performance and usability. Please see chapter 3.1, Supported guest operating systems, page 39 for details on what guest operating systems are fully supported with Guest Additions by VirtualBox. The VirtualBox Guest Additions for all supported guest operating systems are provided as a single CD-ROM image file which is called VBoxGuestAdditions.iso. This image file is located in the installation directory of VirtualBox. To install the Guest Additions for a particular VM, you mount this ISO file in your VM as a virtual CD-ROM and install from there. The Guest Additions offer the following features: Mouse pointer integration To overcome the limitations for mouse support that were described in chapter 1.8.2, Capturing and releasing keyboard and mouse, page 19, this provides you with seamless mouse support. You will only have one mouse pointer and pressing the Host key is no longer required to “free” the mouse from being captured by the guest OS. To make this work, a special mouse driver is installed in the guest that communicates with the “real” mouse driver on your host and moves the guest mouse pointer accordingly. Shared folders These provide an easy way to exchange files between the host and the guest. Much like ordinary Windows network shares, you can tell VirtualBox to treat a certain host directory as a shared folder, and VirtualBox will make it available to the guest operating system as a network share, irrespective of whether guest actually has a network. For details, please refer to chapter 4.3, Shared folders, page 62. Better video support While the virtual graphics card which VirtualBox emulates for any guest operating system provides all the basic features, the custom video drivers that are installed with the Guest Additions provide you with extra high and non-standard video modes as well as accelerated video performance. In addition, with Windows, Linux and Solaris guests, you can resize the virtual machine’s window if the Guest Additions are installed. The video resolution in the guest will be au- tomatically adjusted (as if you had manually entered an arbitrary resolution in the guest’s display settings). Please see chapter 1.8.5, Resizing the machine’s window, page 21 also. Finally, if the Guest Additions are installed, 3D graphics and 2D video for guest applications can be accelerated see chapter 4.4, Hardware-accelerated graphics, page 64. Seamless windows With this feature, the individual windows that are displayed on the desktop of the virtual machine can be mapped on the host’s desktop, as if the underlying application was actually running on the host. See chapter 4.5, Seamless windows, page 66 for details. 53
Previous Page Next Page