Fundamentals of Virtualization · Lesson 1
Understanding Virtualization
Virtualization as abstraction, isolation, resource control, and a response to data-center growth and underused hardware.
Lesson purpose
Virtualization lets a workload experience a complete computer while the platform shares the underlying hardware with other workloads. This lesson establishes the vocabulary and the business problem that made virtualization important: growing server populations, low average utilization, rising facilities costs, and the need to deliver computing as a flexible service. The instructor should keep the central distinction visible throughout the lesson: virtualization hides physical implementation details, but a hypervisor still controls real processors, memory, storage, and networking.
Learning objectives
By the end of the lesson, students should be able to:
- Describe abstraction, a host, a guest, a virtual machine, and a virtual machine monitor (VMM).
- Explain the three formal VMM properties from Popek and Goldberg: fidelity, isolation or safety, and performance.
- Explain why an efficient VMM needs all three properties working together.
- Connect the rise of commodity Windows servers, Moore’s Law, and data-center growth to virtualization.
- Distinguish consolidation from containment and explain the operational value of each.
- Trace a guest request through virtual hardware, the hypervisor boundary, and physical resources.
1. The virtualization model
Virtualization is the abstraction of a physical resource into a logical object that is easier to share, move, or manage. A virtual LAN separates network membership from a physical switch port. A storage area network separates logical storage from a particular disk device. In this course the main focus is whole-computer virtualization.
The model has four roles:
- Host: the physical system supplying CPU, memory, storage, and network capacity.
- Guest: the operating system and applications running inside a virtual boundary.
- Virtual machine (VM): the configured virtual computer presented to one workload. It includes virtual hardware, configuration, disks, and runtime state.
- VMM or hypervisor: the software layer that presents virtual resources and mediates their use.
The guest sees familiar processors, memory, disks, and network adapters. The host operator sees shared capacity and policy. That difference in viewpoint is the foundation of virtualization management. A VM can look like a complete server to an operating system without owning a dedicated physical chassis.
2. Why the model needed to change
Computing moved from centralized mainframes to personal computers, then to client/server applications and Internet services. Each shift increased the number of systems that organizations had to purchase and operate. Windows made commodity servers inexpensive and familiar, but a one-server, one-application practice often prevented two applications from competing for the same operating-system resources. Departments also wanted separate infrastructure for control and data ownership.
Moore’s Law describes a long-running trend in which processor capability increased rapidly. New server generations arrived with more CPU capacity, memory, and storage, yet the workload on an individual server often grew more slowly. Organizations bought headroom for future demand, so many servers spent most of their time lightly loaded. The cost was not limited to idle CPU cycles. Every physical server consumed rack space, power, cooling, network ports, cabling, firmware maintenance, monitoring, backup administration, and staff time.
Ask students to compare a server averaging five percent CPU use with a server that is busy all day. Both still need a power supply, operating-system updates, security controls, and a recovery plan. Virtualization changes the unit of management from a single physical box to a controlled pool of capacity.
3. The VMM requirements
Popek and Goldberg’s formal model identifies three properties:
- Fidelity: the guest environment behaves essentially like the physical equivalent. The device names may differ, but normal operating-system and application interfaces continue to work.
- Isolation or safety: the VMM retains control of system resources and prevents one guest from crossing into another guest’s memory, devices, or execution context.
- Performance: normal execution has little avoidable virtualization overhead compared with a physical equivalent.
The deck also shows Efficient result as a fourth visible outcome. It is not a fourth formal property. It means the VMM becomes useful and controlled when fidelity, isolation, and performance are all present. A fast VM that can directly seize another guest’s device is unsafe. A perfectly isolated VM that performs too slowly may not meet its service goal. Students should describe the three formal properties separately, then explain why the fourth box is the combined result.
4. Virtualization’s business value
Two adoption strategies organize the business case:
- Consolidation moves existing physical workloads onto fewer hosts. If eight VMs run on one physical server, the consolidation ratio is 8:1. Fewer servers can reduce hardware purchases, maintenance, power, cooling, cabling, and floor-space requirements.
- Containment deploys new workloads directly into the virtual infrastructure. A virtualization-first policy changes the default for future growth and avoids adding a new physical server for every application.
Virtualization also improves provisioning, standardization, mobility, availability, and recovery. A VM’s configuration and disks can be copied or moved as managed objects. A workload may move to another host for maintenance, or a protected copy may be restored at a secondary site. These capabilities create the platform that later supports cloud computing, where resources are consumed from a managed pool rather than assembled one server at a time.
5. Resource language and the request path
A VM can virtualize four major resource categories:
- Processing: vCPUs are scheduled access to physical processor execution.
- Memory: guest addresses are mapped to host memory under hypervisor control.
- Storage: a virtual disk presents logical capacity backed by files, volumes, or services.
- Networking: virtual adapters and switches connect guests to logical and physical paths.
The request path is consistent even when the implementation is optimized: an application asks the guest OS for work, the guest uses a virtual device, the hypervisor identifies and mediates the request, physical resources perform it, and the result returns through virtual hardware. Isolation and resource limits can be enforced at the mediation boundary.
Use precise capacity language. A byte is eight bits. Binary units such as KiB, MiB, and GiB scale by 1,024, while decimal KB, MB, and GB scale by 1,000. Capacity is not throughput: GB and GB/s answer different questions. Ask students why an operating system and a storage vendor can show different values for the same device.
Classroom application
Have pairs classify these scenarios and defend the clue that supports each answer:
- Four lightly used servers move onto one host: consolidation.
- A guest sees a logical network adapter: abstraction.
- A failed test VM cannot corrupt a production VM: isolation.
- A VMM provides physical-like behavior with little overhead: fidelity plus performance.
Then ask students to sketch the request path for a guest write to its C: drive. The sketch should identify the guest OS, virtual disk, hypervisor mediation, backing storage, and returned result. Finish by asking which metric they would inspect before increasing a consolidation ratio: CPU latency, memory pressure, storage latency, network throughput, or delivered application service.
Common misconceptions
- Virtualization is not the same as virtual reality. It is a software abstraction of computing resources.
- A VM does not eliminate physical hardware. It changes how workloads access and share it.
- Host, guest, VM, and hypervisor are different roles.
- A VM configured with resources does not automatically receive dedicated physical capacity.
- Consolidation and containment are related but begin with different workload histories.
- High VM count is not the same as high service quality. Capacity, latency, protection, and recovery still matter.
- The four visible VMM boxes do not contradict the three formal properties. The fourth is the efficient result of satisfying the first three.
Lesson summary
Virtualization gives workloads a logical computer view while a VMM controls shared physical resources. Fidelity preserves expected behavior, isolation protects boundaries, and performance keeps the abstraction useful. Commodity servers, rapid hardware growth, and one-application-per-server practices created a utilization and cost problem. Consolidation reduces existing sprawl; containment changes future deployment. The next lesson examines the hypervisor itself as the control layer that presents, schedules, isolates, and mediates these resources.
Course Notes