Unable to power on VM from foreman. I could create the VM but it gives me below error when trying to power on. I could see that the VM is created in host. Failed to start abc.sdnlab.com: Call to virDomainCreateWithFlags failed: unsupported configuration: Domain requires KVM, but it is not available. Check that virtualization is enabled in the host BIOS, and host configuration is setup to load the kvm modules.
I have checked that kvm kernel module is loaded. Any idea what can be done?
You need to check in BIOS and enable virtualization there ( I think it should be there under Security section).
The, do this to verify kvm module is loaded. #lsmod | grep kvm
if kvm module is not loaded, you need to do #modprobe kvm
Check whether kvm is properly loaded, using #dmesg.
PS: You may need to check whether libvirtd daemon is running. (For this you need to start, libvirtd daemon). I think it is "service libvirtd start"