Unable to connct to KVM using virsh - 'error: failed to connect to the hypervisor'
Issue
- Here are couple of examples:
$ virsh -c qemu:///system list
error: failed to connect to the hypervisor
error: authentication failed: polkit: polkit\56retains_authorization_after_challenge=1
Authorization requires authentication but no agent is available.
$ sudo virsh -c qemu:///system list
error: failed to connect to the hypervisor
error: no connection driver available for qemu:///system
Environment
- Red Hat Enterprise Linux 7.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
