I recently created several virtual machines through virt-manager and all ran without issue. The following week, whenever I try to start any of the vms I get the following message.
Error starting domain: 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. Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb callback(*args, **kwargs) File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 66, in newfn ret = fn(self, *args, **kwargs) File "/usr/share/virt-manager/virtManager/object/domain.py", line 1279, in startup self._backend.create() File "/usr/lib64/python3.6/site-packages/libvirt.py", line 1234, in create if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) libvirt.libvirtError: 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 did notice when I was using this system through remote login, that I got kicked out, so I'm assuming this system restarted over the weekend.
I also remembered having to load the kvm module by running the command so my first guess was that it wasn't loaded so I ran
but still I am getting the same message. I also ran
$lsmod | grep kvm
kvm 507904 0
so it is loaded.
I already checked in the bios and can confirm that it is indeed enabled. I also was able to get my VMs running again when I was trying to figure out how to fix this issue although I am not sure what I did. I then restarted the system again to see if it was truly fixed and the message still comes back up. Can anyone help me fix this?