Bellow instructions are for creating a kvm guest OS(Debian) on Debian. Though the examples are based on Debian it should be same for all other distro.
-
Check if your CPU support virtualization:
grep -E --color=auto 'vmx|svm|0xc0f' /proc/cpuinfo
-
Check if the host kernel support KVM:
grep CONFIG_KVM /boot/config-$(uname -r)