An Overview of Virtualization Techniques

Revision as of 17:23, 28 May 2008 by Neil (Talk | contribs) (Guest Operating System Virtualization)

Revision as of 17:23, 28 May 2008 by Neil (Talk | contribs) (Guest Operating System Virtualization)

This book uses the term Virtualization in the context of running multiple operating systems on a single physical computer system. As such, the term does not refer to a single technology, but rather refers to a group of techniques and technologies which achieve operating system virtualization using a variety of different approaches.

When deciding on the best approach to implementing virtualization it is important to have a clear understanding of the different virtualization approaches that are currently available. The purpose of this chapter, therefore, is to describe in general terms the four virtualization techniques in common use today, namely guest operating system, shared kernel, hypervisor and kernel level.

Guest Operating System Virtualization

Guest OS virtualization is perhaps the easiest concept to understand. In this scenario the physical host computer system runs a standard unmodified operating system such as Windows, Linux, Unix or MacOS X. Running on this operating system is a virtualization application which executes in much the same way as any other application such as a word processor or spreadsheet would run on the system. It is within this virtualization application that one or more virtual machines are created to run the guest operating systems on the host computer. The virtualization application is responsible for starting, stopping and managing each virtual machine and essentially controlling access to physical hardware resources on behalf of the individual virtual machines. Some examples of guest OS virtualization technologies include VMWare Server and VirtualBox.

The following figure provides an illustration of guest OS based virtualization.


Guest os diagram.jpg


As outlined in the above diagram, the guest operating systems operate in virtual machines with in the virtualization application which in turn runs on top of the host operating system in the same way as any other application. Clearly, with these levels of indirection between the guest operating systems and the host hardware this approach is not amongst the fasted of virtualization solutions. It does, however, have the advantages that no changes are necessary to the host or guest operating systems and no special CPU virtualization support is needed.


Shared Kernel Virtualization