Open Source Virtualization

4 Day Course
Hands On
Official The Linux Foundation Curriculum
Code LFS462

Book Now - 1 Delivery Method Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online


Learn KVM from the ground up with a focus on QEMU and libvirt, as well as Xen. By the end of this course, you will understand how these and other related open source components can be assembled to create a virtual IT infrastructure. There is a focus on practical deployment skills, securing the virtual infrastructure, and administering solutions. There will also be detailed material about using containers. There are low-level lab exercises focused on virtual images and snapshots, deployment, VM creation and maintenance, integration with networking infrastructure, device pass-through and more.

Open Source Virtualization takes a deep dive into KVM (Kernel-based Virtual Machine) and Xen, the most popular hypervisor virtualization technologies in the open source ecosystem, as well as the deployment and use of containers. Built by experts in the field of virtualization, this course provides the technical background to understand the components required to build and administer a modern virtual IT infrastructure.

This course is focused on problems typically faced in the enterprise world. The lectures are filled with examples of how KVM, Xen and containers can be used in business environments as well as practical lab sessions that let participants gain a real­-world perspective of common virtualization problems and how to address them.

At the end of the training, attendees will have acquired the skills needed to:

  • Understand the role KVM and Xen play in the virtualization ecosystem
  • Know how to assemble KVM and other components into a robust and efficient virtual IT infrastructure

This course is designed to work with a wide range of Linux distributions, so you will be able to apply these concepts regardless of your distro.


Collapse all

Introduction (6 topics)

  • Linux Foundation
  • Linux Foundation Training
  • Laboratory Exercises, Solutions and Resources
  • Distribution Details
  • Registration
  • Labs

Virtualization Overview (12 topics)

  • Virtualization Terminology
  • Host versus Guest
  • Virtual Machine Monitor
  • Emulation
  • Software versus Hardware Virtualization
  • Hypervisor Types
  • Instruction Translation and Caching
  • Paravirtualization
  • Virtual Machine Image File
  • Linux Containers
  • Xen Hypervisor
  • Labs

KVM Quick-Start (14 topics)

  • Verifying your Linux Kernel has KVM
  • Validating your Hardware for KVM
  • Obtaining and Installing KVM and QEMU
  • Verifying libvirt installation
  • Building Upstream QEMU
  • libvirt
  • qemu-img and Virtual Disk Files
  • virt-install
  • Pausing and Restoring the Guest
  • Managing VMs with GUIs
  • The QEMU Command Line
  • The QEMU Monitor
  • virt-manager
  • Labs

KVM Architecture and Relationship with Linux (4 topics)

  • Brief History of KVM
  • Controlling KVM Using Linux Commands
  • Obtaining KVM
  • Labs

Running KVM Using QEMU (15 topics)

  • What is QEMU?
  • Running KVM Using QEMU
  • Machine Commands
  • Starting Guest Networking
  • Dumping Network Traffic with QEMU
  • Guest-to-Host Communication using Virtio
  • QEMU Tracing
  • Managing Storage With QEMU
  • Managing Virtual Storage with libguestfs
  • Using Host Physical Storage
  • Using Host Physical Networking
  • Graphics
  • BIOS
  • USB Pass-through
  • Labs

libvirt (6 topics)

  • Architecture
  • libvirt Access Control
  • virsh
  • libvirt XML
  • Open vSwitch
  • Labs

Hardware Support (2 topics)

  • I/O Provisioning
  • Labs

Tuning for Performance (6 topics)

  • Measuring Performance
  • netperf
  • fio
  • Memory Testing with Stream
  • SPECVirt Tuning
  • Labs

KVM Security (6 topics)

  • Review - libvirt Access Control
  • Host Security Concerns
  • libvirt-sandbox
  • sVirt
  • Security Updates
  • Labs

Xen Hypervisor Architecture (4 topics)

  • Domain Types
  • Toolstack Choices
  • Virtualization Modes
  • Labs

Installing and Configuring Xen (8 topics)

  • Preparing the Host
  • Getting the Software
  • Verifying dom0
  • Toolstack Selection
  • Installing domU
  • Persistent Xen Configuration
  • Connections to domU
  • Labs

Administration of Xen domains (8 topics)

  • Debugging Xen Issues
  • Backup and Restore
  • Live Migration
  • NUMA Features
  • PCI Pass-through
  • USB Device Pass-through
  • Troubleshooting
  • Labs

Xen Performance and Tuning (5 topics)

  • Domain Resource Usage
  • Xen Scheduler Options
  • I/O Benchmark Testing
  • Boot Options for dom0
  • Labs

Xen Security (7 topics)

  • Domain Type Considerations
  • Xen Security Modules
  • Virtual Trusted Platform Module
  • pvgrub
  • Network Security
  • Labs

Working with Linux Containers (8 topics)

  • Container Basics
  • Docker
  • Rocket
  • Kubernetes
  • LXD Container Hypervisor
  • OCI
  • lxc command line tools
  • Labs


This course is for technical IT professionals interested in building a reliable, efficient and open virtualization infrastructure with KVM. Students are expected to have mastered the skills covered in the lower level Linux Foundation System Administration courses. Students are expected to be well­ versed in Linux command line usage, shell scripting and text file editing.

Additional Learning

The courses below may help you meet the knowledge level required to take this course.

Scheduled Dates

Please select from the dates below to make an enquiry or booking.


Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Oct Nov Dec Jan Feb Mar
Later scheduled dates may be available for this course.

Course PDF


Share this Course


Recommend this Course