Since few days whenever I open Virtual Machine Manager or run “virt-manager” it keeps showing “QEMU/KVM - Connecting…” and doesn’t move on from that. A reboot fixes the problem for a while. Then if I close the application and try to open it again sometime after then same issue.
I haven’t touch the configuration files. Done nothing to mess the qemu/kvm. I usually update the system from the “Software” . I read similar type of issue in here and tried following:
I noticed “groups” command didn’t list kvm and libvirt (even though i am sure I added my user to those groups during installation) - added my users to those groups - didn’t work
Tried reinstalling virt-manager - didn’t work
Tried reinstalling “Virtualization” group - didn’t work
Tried restarting libvirtd - now this is a strange part. The service status is inactive(dead) and restarting it gives “job for libvirtd.service canceled” but it solves the problem (again for a while only)
This is annoying in the long run. What should I do?
QEMU: Checking for hardware virtualization : PASS
QEMU: Checking if device /dev/kvm exists : PASS
QEMU: Checking if device /dev/kvm is accessible : PASS
QEMU: Checking if device /dev/vhost-net exists : PASS
QEMU: Checking if device /dev/net/tun exists : PASS
QEMU: Checking for cgroup 'cpu' controller support : PASS
QEMU: Checking for cgroup 'cpuacct' controller support : PASS
QEMU: Checking for cgroup 'cpuset' controller support : PASS
QEMU: Checking for cgroup 'memory' controller support : PASS
QEMU: Checking for cgroup 'devices' controller support : PASS
QEMU: Checking for cgroup 'blkio' controller support : PASS
QEMU: Checking for device assignment IOMMU support : PASS
QEMU: Checking if IOMMU is enabled by kernel : WARN (IOMMU appears to be disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)
QEMU: Checking for secure guest support : WARN (Unknown if this platform has Secure Guest support)
LXC: Checking for Linux >= 2.6.26 : PASS
LXC: Checking for namespace ipc : PASS
LXC: Checking for namespace mnt : PASS
LXC: Checking for namespace pid : PASS
LXC: Checking for namespace uts : PASS
LXC: Checking for namespace net : PASS
LXC: Checking for namespace user : PASS
LXC: Checking for cgroup 'cpu' controller support : PASS
LXC: Checking for cgroup 'cpuacct' controller support : PASS
LXC: Checking for cgroup 'cpuset' controller support : PASS
LXC: Checking for cgroup 'memory' controller support : PASS
LXC: Checking for cgroup 'devices' controller support : PASS
LXC: Checking for cgroup 'freezer' controller support : FAIL (Enable 'freezer' in kernel Kconfig file or mount/enable cgroup controller in your system)
LXC: Checking for cgroup 'blkio' controller support : PASS
LXC: Checking if device /sys/fs/fuse/connections exists : PASS
I read the thread you mentioned and tried your solution but no luck. Someone has reported this as bug https://bugzilla.redhat.com/show_bug.cgi?id=2213398 and it matches with my issue. It started showing after the upgrade of systemd.