openskills.info
Course Preview

Hypervisor Architecture

A hypervisor lets several virtual machines share one physical computer while keeping each guest operating system isolated. Its architecture controls CPU execution, memory translation, interrupts, and device access between guests and hardware.

itVirtualization, containers, and orchestration

Don't Panic - Hypervisor Architecture

A hypervisor, or virtual machine monitor, creates virtual machines and controls their access to physical hardware. Each guest sees virtual processors, memory, interrupts, and devices while the hypervisor preserves isolation and schedules shared resources. The guest behaves as though it owns a computer; the hypervisor decides which resources are real, shared, or emulated.

Most ordinary guest instructions execute directly on the physical CPU. Hardware virtualization adds a guest mode and a control structure per virtual CPU. On Intel, VMX uses VM-entry and VM-exit transitions; AMD SVM provides analogous controls. The hypervisor selects events that must trap: privileged register access, selected instructions, interrupts, or device access. Each exit saves guest state, lets the hypervisor emulate or delegate work, then resumes the guest. Exits are the control points that also cost cycles, so a sound design traps only what isolation requires.

The architecture is larger than the privileged core. Device models, host drivers, firmware, and a management plane may share a process, run separately, live in a management partition, or move onto dedicated hardware. Placement changes performance, failure domains, and attack surface. Nested virtualization adds another layer of exits when a guest itself runs a hypervisor, which is useful for labs and some clouds and expensive when unused.

A working mental model separates CPU virtualization, memory and interrupt virtualization, and device emulation. CPU scheduling fixes do not repair a chatty virtual device. Profile exit reasons before rewriting the guest workload.

Read the Intro for the execution boundary and CPU virtualization model. Use the Cheatsheet when you need the exit and device-model maps. Landscape and Timeline place hypervisor designs among related virtualization technologies.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources