[Pkg-libvirt-maintainers] Bug#623537: virt-manager: Confirms issue

Nils Jarle Haugen nilsjha at gmail.com
Mon Mar 4 22:58:28 GMT 2019


Dear maintainer,


I can confirm that i fixed the issue after consulting with some support 
over at the #virt channel on OFTC.
The issue was that the libvirt system user account (libvirt-qemu) was 
not a member of the plugdev group, which owns /dev/kvm.

After adding the libvirt-qemu to the plugdev group, libvirt recognises 
KVM and runs as normal.

I'm not sure how this happend, as I've never done any changes to that group.



Kind regards,

Nils J. Haugen


On Mon, 25 Feb 2019 11:30:40 +0100 nils+buglist at gaupne.net wrote:
 > Package: virt-manager
 > Version: 1:2.0.0-3
 > Followup-For: Bug #623537
 >
 > Dear Maintainer,
 >
 >
 > I can confirm to experience the same issue, virt-manager/libvirt are
 > unable to detect the presence of KVM on the system. It stopped working
 > after updating to version 1.2.0.0-3. Virt-manager the tries to run the
 > virtual machines with QEMU TCG...
 >
 > I've checked with both lsmod and kvm-ok and they reports that the
 > required modules are
 > loaded.  Intel Virtualisation Technology is enabled in BIOS.
 > The CPU running on the machineis an i7 7820HQ. I've tried purging all
 > qemu-system-* libvirt-* packages and reinstalling qemu-kvm, 
libvirt-client,
 > qemu-utils and libvirt-daemon-system
 >
 > As opposed to using libivirt I can run the virtual machines fine with
 > qemu-system and
 > experience bare-metal performance. So my guess is that this might be a
 > bug in libvirt/ virt-manager, as the other systems can detect KVM us
 > usual ?
 >
 > Best regards,
 > Nils J. Haugen
 >
 > -- System Information:
 > Debian Release: buster/sid
 >   APT prefers testing
 >   APT policy: (500, 'testing')
 > Architecture: amd64 (x86_64)
 > Foreign Architectures: i386
 >
 > Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
 > Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
 > Locale: LANG=nn_NO.UTF-8, LC_CTYPE=nn_NO.UTF-8 (charmap=UTF-8),
 > LANGUAGE=en_US (charmap=UTF-8)
 > Shell: /bin/sh linked to /bin/dash
 > Init: systemd (via /run/systemd/system)
 > LSM: AppArmor: enabled
 >
 > Versions of packages virt-manager depends on:
 > ii  dconf-gsettings-backend [gsettings-backend]  0.30.1-2
 > ii  gir1.2-gtk-3.0                               3.24.5-1
 > ii  gir1.2-gtk-vnc-2.0                           0.9.0-1
 > ii  gir1.2-libosinfo-1.0                         1.2.0-1
 > ii  gir1.2-libvirt-glib-1.0                      1.0.0-1
 > ii  gir1.2-vte-2.91                              0.54.2-2
 > ii  librsvg2-common                              2.44.10-1
 > ii  python-requests                              2.20.0-2
 > ii  python3                                      3.7.2-1
 > ii  python3-dbus                                 1.2.8-3
 > ii  python3-gi                                   3.30.4-1
 > ii  python3-gi-cairo                             3.30.4-1
 > ii  python3-libvirt                              5.0.0-1
 > ii  virtinst                                     1:2.0.0-3
 >
 > Versions of packages virt-manager recommends:



More information about the Pkg-libvirt-maintainers mailing list