Skip to content
Tech Atlas, home
Search
Esc
  • All roadmapsBrowse every learning path
  • ExploreFind a technology area
  • ProjectsGuided projects and builds
  • My AtlasYour learning dashboard
Skill

Virtualization & Hypervisors

Explain how a hypervisor runs whole operating systems as guests, run KVM virtual machines with libvirt, and diagnose the performance costs of virtualization.

Advanced1 roadmap

4 objectives 6 steps about 130 min

Check what you know

The lessons are coming later. The knowledge check is ready now.

Take the knowledge check

This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.

Learning objectives

  • Explain how a hypervisor virtualizes CPU, memory and devices - trap-and-emulate, hardware-assisted virtualization (Intel VT-x, AMD-V), nested page tables and paravirtual virtio devices - and place KVM among type 1 and type 2 hypervisors.
  • Create, configure, snapshot and remove a KVM guest from a cloud image with libvirt (virt-install, virsh) and cloud-init, using virtio disk and network devices.
  • Diagnose virtualization overheads from inside and outside a guest - CPU steal time, memory overcommit and ballooning, emulated versus virtio devices - and choose a mitigation.
  • Compare the isolation boundary and overhead of virtual machines, microVMs (Firecracker), sandboxed container runtimes (gVisor, Kata Containers) and plain containers, and choose one for a multi-tenant workload.

Lesson plan

6 steps, about 130 min · 0 of 5 lessons available so far

  1. Virtualizing a whole machine: trap-and-emulate, VT-x/AMD-V and nested page tables Concept · 25 min · coming later
  2. Devices for guests: emulation, virtio and passthrough, and where KVM and QEMU fit Concept · 15 min · coming later
  3. Lab: a KVM guest from a cloud image with libvirt, virtio and cloud-init, then snapshot and revert Lab · 30 min · coming later
  4. Lab: steal time, overcommit and a slow emulated disk, seen from guest and host Lab · 25 min · coming later
  5. VMs, microVMs, sandboxed runtimes and containers: isolation versus overhead Concept · 20 min · coming later
  6. Check: virtualization design and performance cases Knowledge check · 8 questions

Practise it

On a Linux host with KVM (nested virtualization is acceptable), create a guest from a cloud image with virt-install and a cloud-init seed, switch its disk from an emulated controller to virtio and measure the fio difference, snapshot and revert it, and show steal time in the guest while the host is oversubscribed. Then write a one-page recommendation choosing between a VM, a Firecracker microVM, gVisor or Kata Containers and a plain container for a stated multi-tenant workload, with the evidence and assumptions behind it.

References

Hard prerequisites

Unlocks

Nothing depends on this skill yet.

On these roadmaps

Progress and evidence for this skill are shared across all of them.