kvm-qemu-virtualization-guide icon indicating copy to clipboard operation
kvm-qemu-virtualization-guide copied to clipboard

Guide to run VMs with KVM and QEMU

KVM / QEMU Virtualization Guide

This guide is based on my own experience and hacks on running virtual machines. You already may have knowledge on this topic, so I will try to keep things simple and get directly to the point.

Our object is just one: have a full working virtualization platform with QEMU using KVM as hypervisor to run Linux, MacOS, Windows OS and any other operational system inside virtual machines with great performance, even for gaming!


What to Expect

  • Virtualization solution with Fedora as hypervisor.
  • Easy guide if you already have KVM / QEMU knowledge.
  • Virtualization that just works.
  • Isolated and secure host system to just run VMs.
  • Best practices for maximum performance in VMs.
  • Linux, Windows and MacOS virtualization.
  • Single and Multi GPU passthrough support (very easy to activate/deactivate).
  • PCI passthrough ON DEMAND without need to pre-allocate devices on VFIO (or blacklist drivers on the OS).
  • Audio and USB device passthrough.
  • Live USB passthrough on supported VMs.
  • CPU isolation and pinning support.
  • Bridge network to keep every VMs available on the local network.
  • Nested virtualization for development environments.
  • VM creation and management from CLI.
  • Support for BOOT interface via CLI (to select the startup disk for example).
  • More!

How to Start

Follow the guides inside the Docs folder or use the links below for a specific topic:

  • Host System Installation
  • Configuring the Bridge Network
  • Enabling PCI-e Passthrough
  • Virtualization Hooks
  • Managing Virtual Machines
  • XML Configurations
  • Linux Virtualization
  • Windows Virtualization
  • MacOS Virtualization
  • File Sharing
  • Docker Containers