This website is preserved for historical and scholarly reference and is no longer actively maintained.
Refer to the Chapter in the text on VMs.
Virtual Machines
- Brief Overview:
- Fundamental idea – abstract hardware of a single computer
into several different execution environments
- Similar to layered approach
- But layer creates virtual system (virtual machine, or VM)
on which operation systems or applications can run
- Several components
- Host – underlying hardware system
- Virtual machine manager (VMM) or hypervisor – creates and
runs virtual machines by providing interface that is
identical to the host (Except in the case of
paravirtualization)
- Guest – process provided with virtual copy of the host
Usually an operating system
- Single physical machine can run multiple operating systems
concurrently, each in its own virtual machine
- See Ch 24 of Unix Sys Admin v5 textbook
- Full virtualization (using something like QEMU's hardware
emulation) provides VM emulation as well as, usually
separately, emulation of underlying VM hardware.
- VirtualBox and VMWare Workstation is a type 2 VMM which
are a hybervisor that runs in user space on a Host OS.
- VMWare ESX and Xen Server are Type 1 VMMs - means the
Guest OS's (VMs) can run directly on bare metal hardware
without a Hosting OS.
- Paravirtualization - a modified Guest OS cooperates with
the Host OS.
- Totally different concept- containers
- A container is a process (or family of related processes)
that are isolated and managed by the kernel.
- Containers share the underlying kernel features but
are 'jailed' through a private root file system
and process namespace.
- Since virtualization is not required, over head is
very low.
- All containers must run the same OS
- Examples: Docker and freeBSD Jails.
There are different methods for packaging and porting VMs between
different types of VMMs. As an example, the Open Virtualization
Format (OVF) allows VMs to be imported and exported. This are
sometimes referred to as Virtual Appliances. They are VMs that
have been customized and then placed into the correct OVF format.
VM systems
Last update: 1/26/2019