The machine inside the machine.
A technical history of the virtual machine — from IBM's CP-40 and the mainframe labs of the 1960s, through the x86 breakthrough, Xen, KVM and the cloud, to Firecracker microVMs and confidential computing. Twelve chapters, real commands, and the engineering trade-offs behind them.
$ virsh list --all
Id Name State
--------------------------------------
1 cp67-1968 running
2 vm370-1972 running
3 esxi-2001 running
4 xen-2003 running
5 kvm-2007 running
6 firecracker-2018 running
$ uname -a
Linux guest 6.9.0 #1 SMP x86_64 GNU/Linux
$ systemd-detect-virt
kvm
$ cat /sys/hypervisor/type 2>/dev/null
xen
$ # the guest does not know it is a guest. that is the point.
$ █
One computer, many computers.
A virtual machine is a complete hardware interface implemented in software: CPU registers, page tables, interrupts, disks, NICs. The guest OS runs unmodified or nearly unmodified, and the hypervisor keeps every guest inside its own box. Everything else in this archive is a consequence of that idea — and of the cost of enforcing it.
The hypervisor — also called the virtual machine monitor — sits between the real hardware and one or more guests. It owns the privileged state, schedules virtual CPUs, maps guest-physical memory to host memory, and routes I/O.
Two properties matter more than any benchmark: isolation and equivalence. Isolation means a guest cannot read or write another guest's memory without permission. Equivalence means the guest can run the same software it would run on bare metal. When those two conflict with performance, engineers invent a new technique — binary translation, paravirtualization, CPU extensions, or a smaller device model.
That tension is the through-line of the next eleven chapters.
Read the origins ->Eleven chapters, one long argument.
Read in order for the full history, or jump to the era you need. Each chapter stands alone and includes diagrams, primary-source dates, and runnable examples where they make sense.
Before the hypervisor
Time-sharing, the IBM M44/44X, CP-40 and CP-67 — how a mainframe learned to host many operating systems.
Open chapter ->VM/370 and the rules
IBM productizes the hypervisor, and Popek & Goldberg write down what “virtualizable” actually means.
Open chapter ->The x86 problem
Ring deprivileging, silent failures and why the world's most popular CPU was considered unvirtualizable.
Open chapter ->Binary translation
VMware rewrites kernel code on the fly, puts x86 virtualization on every desk, and then on bare metal.
Open chapter ->Xen and paravirtualization
Modify the guest, gain the speed. Cambridge's hypervisor becomes the substrate of early public cloud.
Open chapter ->Silicon joins in
VT-x, AMD-V, VMCS, EPT and IOMMU: the CPU takes over the hardest parts of virtualization.
Open chapter ->Linux becomes a hypervisor
KVM turns the kernel into a VMM, QEMU supplies the hardware, and libvirt makes it manageable.
Open chapter ->The cloud era
EC2, live migration, multi-tenancy and oversubscription: virtualization becomes an industry.
Open chapter ->Containers and microVMs
chroot to Docker to Firecracker: trading isolation for density, then buying some isolation back.
Open chapter ->The security boundary
VM escapes, Spectre, SEV and TDX — what happens when the hypervisor itself is the attack surface.
Open chapter ->The frontier
MicroVMs, confidential containers, WASM, DPUs, CXL and the next place the boundary moves.
Open chapter ->Glossary & sources
Twenty-seven terms, from hypervisor to unikernel, plus the papers and documentation behind every chapter.
Open appendix ->Seven decades in fifteen events.
Filter by era. Dates are the ones that shipped, not the ones in a press release. Some are debatable; the sources are linked at the end of every chapter.
-
1964
IBM M44/44X
An experimental paging machine at IBM Research runs multiple simulated 7044s. The phrase “virtual machine” enters the vocabulary.
Chapter 01 -> -
1967
CP-40 boots
The first true hypervisor, built on a modified System/360 Model 40. CMS gives each user an interactive virtual machine.
Chapter 01 -> -
1968
CP-67 reaches users
CP-67 ships on the System/360-67, hosting CMS, OS/360 and DOS/360 guests side by side.
Chapter 01 -> -
1972
VM/370 announced
IBM turns the research system into a product on 2 August 1972. A thousand installations follow by 1978.
Chapter 02 -> -
1974
Popek & Goldberg
“Formal requirements for virtualizable third generation architectures” defines equivalence, resource control and efficiency.
Chapter 02 -> -
1979
chroot appears
Version 7 Unix adds the first crude process-isolation primitive — an ancestor of containers, not of VMs.
Chapter 09 -> -
1999
VMware Workstation 1.0
Dynamic binary translation makes x86 virtualization practical on ordinary PCs.
Chapter 04 -> -
2003
Xen 1.0
Cambridge releases a paravirtualizing hypervisor. It will underpin Amazon EC2 three years later.
Chapter 05 -> -
2005
Intel VT-x
Hardware root/non-root modes remove the need for binary translation on new CPUs. AMD-V follows in 2006.
Chapter 06 -> -
2006
AWS EC2 launches
Virtual machines become a utility. Xen, AMIs and the metadata service define a generation of infrastructure.
Chapter 08 -> -
2007
KVM enters Linux
Kernel 2.6.20 ships KVM. QEMU plus libvirt becomes the default open-source virtualization stack.
Chapter 07 -> -
2013
Docker 0.1
Namespaces and cgroups get a developer-friendly interface. Containers escape the ops basement.
Chapter 09 -> -
2018
Firecracker + Spectre
AWS open-sources a 125 ms microVM for Lambda. Months earlier, speculative-execution attacks redraw the threat model.
Chapter 10 -> -
2023
Intel TDX ships
Confidential VMs with encrypted memory reach mainstream server CPUs, alongside AMD SEV-SNP.
Chapter 10 -> -
2025+
The sandbox decade
MicroVMs, WASM and hardware memory encryption compete to isolate agent code at scale.
Chapter 11 ->
Three ways through the archive.
The chapters are chronological, but the useful path depends on what you are trying to build, operate, or understand.
Student & historian
Follow the ideas in order: why sharing a mainframe led to the hypervisor, and why x86 broke the theory.
Engineer & operator
Go straight to the modern stack: how KVM, QEMU, virtio and the CPU extensions actually fit together.
Security & platform
Start from the boundary: what the hypervisor must protect, where it has failed, and what comes next.
Pick a chapter. Start a guest.
Every chapter is a self-contained HTML page: no framework, no build step, no telemetry. Read it on a train, fork it, or serve it from a Raspberry Pi.