virsh list returns nothing
I did a “dnf update” on a Fedora 38 and after rebooting executing “virsh list –all” I got:
Id Name State -------------------------
I tried running virt-manager and it had problems connecting – it would list my virtual machines, then disconnect
At the bash prompt I executed
virsh uri
and got back
lxc:///system
After executing
export LIBVIRT_DEFAULT_URI=qemu:///system
everything started running correctly
I added the line:
export LIBVIRT_DEFAULT_URI=qemu:///system
to the end of /etc/bashrc and that appeared to take care of the problem. Researching why I needed to do that.