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>.xmlas root. This will create the xml definition under /etc/libvirt/qemu which will then be picked up by virt-manager.
Another issue could be causing this is that you are using the terminal by user different than the one being used by virtmanager, for example, if your virt manager is using root and you are using your machine's terminal with user admin without sudo, you will get different result, most probably empty list since the system never used your another user for VMs.
Check the output of
virsh uri
. If it returnsqemu:///session
, but you're using aqemu:///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.If you see a connection for
localhost (QEMU)
listed, double click it.If you don't see any connections listed, go to File > Add Connection, leave all the defaults set as they are, then click Add.
Another issue could be causing this is that you are using the terminal by user different than the one being used by
virtmanager
, for example, if your virt manager is usingroot
and you are using your machine's terminal with useradmin
withoutsudo
, you will get different result, most probably empty list since the system never used your another user for VMs.Try restarting you Machine. and see what's the result.