Open Source Virtualization (LFS462)

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.

$2950 Enroll Get A Quote

Course Overview

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.

Show More

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.


11/11/2019 - 11/14/2019
$2950 Add to cart Generate A Quote
2/24/2020 - 2/27/2020
$3250 Add to cart Generate A Quote
If none of these fits your schedule, check out our Partner offerings >

Course Outline

  1. Introduction
    • Linux Foundation
    • Linux Foundation Training
    • Linux Foundation Certifications
    • Laboratory Exercises, Solutions and Resources
    • Distribution Details
    • Labs
  2. Virtualization Overview
    • 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
    • Comparison
    • Labs
  3. KVM Quick-Start
    • Verifying your Linux Kernel has KVM
    • Validating your Hardware for KVM
    • Obtaining and Installing KVM and QEMU
    • Building Upstream QEMU
    • qemu-img and Virtual Disk Files
    • virt-install
    • Pausing and Restoring the Guest
    • Managing VMs with GUIs
    • The QEMU Monitor
    • The QEMU Command Line
    • Labs
  4. KVM Architecture and Relationship with Linux
    • Brief History of KVM
    • Controlling KVM Using Linux Commands
    • Obtaining KVM
    • Labs
  5. Running KVM Using QEMU
    • 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
  6. libvirt
    • libvirt
    • Architecture
    • libvirt Access Control
    • virsh
    • virt-manager
    • libvirt XML
    • Open vSwitch
    • Labs
  7. Hardware Support
    • Assigning Devices
    • I/O Provisioning
    • Labs
  8. Tuning for Performance
    • Measuring Performance
    • netperf
    • fio
    • Memory Testing with Stream
    • SPECVirt Tuning
    • Labs
  9. KVM Security
    • KVM Security
    • Review – libvirt Access Control
    • Host Security Concerns
    • libvirt-sandbox
    • sVirt
    • Security Updates
    • Labs
  10. Xen Hypervisor Architecture
    • Domain Types
    • Toolstack Choices
    • Virtualization Modes
    • Labs
  11. Installing and Configuring Xen
    • Preparing the Host
    • Getting the Software
    • Verifying dom0
    • Toolstack Selection
    • Installing domU
    • Persistent Xen Configuration
    • Connections to domU
    • Labs
  12. Administration of Xen domains
    • Debugging Xen Issues
    • Backup and Restore
    • Live Migration
    • NUMA Features
    • PCI Pass-through
    • USB Device Pass-through
    • Troubleshooting
    • Labs
  13. Xen Performance and Tuning
    • Domain Resource Usage
    • Xen Scheduler Options
    • I/O Benchmark Testing
    • Boot Options for dom0
    • Labs
  14. Xen Security
    • Domain Type Considerations
    • Xen Security Modules
    • FLASK
    • Virtual Trusted Platform Module
    • pvgrub
    • Network Security
    • Labs
  15. Working with Linux Containers
    • Container Basics
    • OCI
    • Kubernetes
    • CRI-O
    • Rocket
    • Docker
    • LXD Container Hypervisor
    • 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.

At a Glance

Delivery Method

Live Online (Virtual)

Delivery Method

Live (Classroom)


  • 4 days of Instructor-led class time
  • Hands-on Labs & Assignments
  • Resources & Course Manual
  • Certificate of Completion
  • Free Chromebook

Experience Level


Course Rating



Training 5 or more individuals?
Get a Corporate Quote >


Get training and a free Chromebook.

When you train with The Linux Foundation you’re already getting the best Linux training straight from the source. And now, we are including a free Chromebook with the purchase of select Linux Foundation instructor-led training courses to help you get the most out of your training experience.

Learn More