CentOS Virtualization – virt-manager Not Showing Local KVMs

centosvirshvirt-managervirtualization

When I open virt-manager GUI it doesn't show list of KVMs but virsh does. how can fix it?

Best Answer

Check the output of virsh uri. If it returns qemu:///session, but you're using a qemu:///system connection in Virt-Manager, you found the cause.

In order to fix it, you should either create a "QEMU/KVM user session" connection in virt-manager, or run virsh define ~/.config/libvirt/qemu/<filename>.xml as root. This will create the xml definition under /etc/libvirt/qemu which will then be picked up by virt-manager.