Skip to main content

KVM / QEMU

Here are the steps to get KVM/QEMU installed.

First check and make sure that virtualization is enabled in the bios and seen by the system

lscpu | grep Virtualization
Should look something like this

image.png

Can also use this command and look for 'vmx' or 'svm' in the output.

cat /proc/cpuinfo | egrep "vmx|svm"
Should look something like this

image.png

Once that is validated, load up some KVM

# LOAD THE EPEL REPO AND INSTALL THE KVM APPLICATION AND TOOLS
dnf install -y epel-release
dnf install -y libvirt virt-install libvirt-client libguestfs-tools libosinfo virt-top

systemctl enable libvirtd
systemctl start libvirtd

Insure the KVM modules got loaded

lsmod | grep kvm
Should look something like this

image.png

Optional:

If you are running a desktop environment, you could install "virt-manager" and manage the KVM with a GUI.

dnf install virt-manager