Sub topic 6
Virtualization Fundamentals: Host, Guest, and Virtual Machine
This chapter assumes you know basic PC hardware terms (CPU, RAM, storage, network adapter), have used Windows or Linux, and understand IP addresses and LANs. It introduces the vocabulary that the later chapters on hypervisors, resources, and networking depend on.
What Virtualization Is
Virtualization is the use of software to create a simulated computer that runs on real hardware. The simulated computer behaves like a physical PC. It has a CPU, memory, a disk, and a network adapter, but each of these is carved out of the real machine's resources.
The A+ Core 1 exam tests this idea in the context of a technician's workstation. You may need to set up a test environment, run an old application, or explain why a PC cannot start a virtual machine.
Host, Guest, and Virtual Machine
Three terms appear in almost every exam question on this topic.
| Term | Meaning | Example |
|---|---|---|
| Host | The physical computer and the operating system (OS) that provides resources | A laptop running Windows 11 |
| Guest | The operating system that runs inside the virtual machine | Ubuntu Linux running in a window |
| Virtual machine (VM) | The software-defined computer that holds the guest OS | A VM with 2 CPUs, 4 GB RAM, and a 60 GB virtual disk |
A VM is usually stored as files on the host. These files include a virtual hard disk file and a configuration file. Because a VM is just files, you can copy it, back it up, or move it to another host.
The guest does not know it is virtual. It sees what looks like ordinary hardware. A program called a hypervisor creates this illusion and shares the host's real resources among the VMs. The next chapter covers hypervisors in detail.
Key Properties of Virtual Machines
Virtual machines have four properties that explain why people use them.
- Isolation: Each VM is separated from the others and from the host. A crash or malware infection inside one guest normally stays inside that guest.
- Independence: A guest can run a different OS than the host. A Windows host can run Linux guests, and the reverse.
- Resource sharing: Many VMs can use one physical machine, so hardware is used more fully.
- Portability: VM files can be copied or moved, and many tools can save a snapshot. A snapshot is a saved state of a VM that you can return to later.
A Worked Example
A technician must test a business application that only works on an older version of Windows. She does not want to wipe her work laptop. She follows these steps.
- She checks that the laptop's CPU supports virtualization and that the feature is turned on in BIOS/UEFI.
- She installs a hypervisor on the host.
- She creates a VM and assigns it 2 CPU cores, 4 GB of RAM, and a 60 GB virtual disk.
- She installs the older Windows version as the guest.
- She takes a snapshot, tests the application, and returns to the snapshot if something breaks.
The host and its files are never touched by the old guest OS.
Common Mistakes
- Mixing up host and guest. The host is the physical machine side. The guest is the VM side.
- Assuming a VM needs no real hardware. It still consumes host CPU, RAM, disk, and network capacity.
- Assuming isolation is perfect. It is strong, but not absolute. The security chapter covers the exceptions.
Exercise
A technician runs Ubuntu Linux inside a window on a laptop that runs Windows 11. Which system is the host, which is the guest, and what is the Ubuntu environment itself called?
Show answer
Windows 11 on the laptop is the host. Ubuntu is the guest operating system. The simulated computer that Ubuntu runs in is the virtual machine.
Exercise
Name two benefits of keeping a VM as a set of files on the host.
Show answer
Any two of these: you can back it up by copying the files, you can move it to another host, you can clone it for more test machines, and you can save and restore snapshots.