VMs not listed with virt-manager
On openSUSE Tumbleweed, package versions:
- qemu-5.1.0-7.1.x86_64
- libvirt-daemon-6.8.0-1.1.x86_64
- virt-manager-3.1.0-1.1.noarch
Using "sudo virsh list --all", I see all my VMs. Using virt-manager, connected to qemu:///system, some VMs are missing. The missing VMs have snapshots. The missing VMs are mentioned in the systemd journal:
$ sudo journalctl | grep libvirt Oct 15 12:08:27 my_machine_hostname libvirtd[1568]: internal error: Too many snapshots claiming to be current for domain MY_VM_NAME
Searching the libvirt codebase for the error string leads me to qemu_driver.c.
$ git show 40bc98dd
The error message isn't new to commit 40bc98dd, but the logic in this area has changed. Has 40bc98dd introduced a bug?
virt-manager was working as expected until recently. I'm guessing the distro upgrade to libvirt 6.8.0 resulted in this unexpected change in behaviour.