libvirt: error: no connection driver available for…

After a fresh kickstart of Fedora 28, I could no longer get virt-manager or virsh to connect to the hypervisor. Every time I would try I would see the following:

$ virsh -c <uri> list
error: no connection driver available for No connection for URI <uri>
error: failed to connect to the hypervisor

I had installed the entire Virtualization group during the kickstart. Google didn’t provide me with any answers. In fact, the only reference I could find to this error was from the libvirt wiki. Sadly, it was a red herring as I knew I had not compiled from source. The service was running. Logs looked good. Still, no luck.

After a great deal of trial and error, I installed the libvirt-daemon-kvm package. Magically, everything worked!


dnf install libvirt-daemon-kvm



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.