Knowledgebase

Find frequently asked questions and setup guides by searching or by browsing the categories.

How KVM Works

With KVM, the Linux kernel itself acts as the hypervisor. Each virtual machine runs as a process on the host, and the processor's virtualization extensions (Intel VT-x and AMD-V) let its code run directly on the CPU. QEMU provides the hardware the virtual machine sees: its disks, network cards, and console.

What KVM Means for a VPS

  • Your own kernel: you can load kernel modules, change kernel settings, and run Docker.
  • A full operating system: the virtual machine boots like a physical computer and is not tied to the host's Linux version.
  • Reserved resources: a provider can reserve cores and memory for each virtual machine, so a neighbor's load does not take them.
  • Isolation: each virtual machine is separated from the others at the hardware level.

KVM Compared with Containers

KVM virtual machineContainer (OpenVZ, LXC)
KernelIts ownShared with the host
Operating systemAny that runs on the hardwareLinux only, on the host's kernel
IsolationHardware levelProcess level
OverheadSlightly higherLower
Docker and kernel modulesSupportedLimited or not available

KVM, QEMU, and Proxmox

KVM is the part of the Linux kernel that runs virtual machines. QEMU is the program that provides their virtual hardware. Proxmox VE is a management platform that uses both and adds a web interface, storage, backups, and snapshots.

How to Tell Whether a VPS Runs on KVM

On a Linux server, this command prints the virtualization type. A KVM virtual machine answers kvm:

systemd-detect-virt
Was this answer helpful?
Loading...