KVM (Kernel-based Virtual Machine)
KVM is a type 1 hypervisor technology built into the Linux kernel, using components like QEMU, libvirt, and virt-manager to orchestrate virtual machines. This reference aims to cover everything you'd need to have a basic understanding of KVM and QEMU, how to use virt-manager
, networking configuration options, and the various components such as SPICE.
virt-manager
acts as one possible GUI / CLI frontend to managing VM's.qemu
is the virtualization / emulation technology that technologies like virt-manager call to run VM's.- QEMU can be used via the CLI on its own.
KVM relates to QEMU when you run VM's with hardware acceleration rather than pure software emulation, KVM provides the hardware translation and acceleration component. This is the difference when starting VM's with kvm
instead of qemu-system-x86_64
.
kvm
is the equivalent of running qemu-system-x86_64 -machine accel=kvm:tcg
(see man kvm
).
libvirt
is an API, daemon, and management tool that ties all of the components you want to use together, and is used by KVM, Xen, VMware ESXi, and QEMU when performing virtualization tasks.