Kernel-based virtual machine (KVM) is the most common and robust open source virtualization Hypervisor, and it is most commonly used with OpenStack. In this recipe, we will configure the Nova-compute service to use the KVM Hypervisor driver, which invokes
libvirt service commands to control KVM virtual machines on the host running the Nova-compute service.
Before configuring Nova-compute to use KVM, make sure that hardware-assisted virtualization is enabled, and a virtualization flag is present at
/proc/cpuinfo. Check whether
intel-vt is supported:
[root@compute1 ~]# grep -E 'svm|vmx' /proc/cpuinfo
If the preceding command returns
0, make sure that virtualization is enabled at BIOS.