In data martedì 13 giugno 2023 16:56:12 CEST, Stakanov via openSUSE Users ha scritto:
KVM installed and qemu (via packages). Libvirt is there, the virtual machine manager tries to start the connection, but ...fails. The machines are stored on a separate disk mounted as /var/lib/ libvirt.
I am puzzled, why does the connection not start? User is member of: entropy@localhost:~> groups entropy kvm qemu libvirt I am not seeing why it should have any problem, something I am missing. I checked app armor and there might be some clue when trying to see the status of libvirt (but there are strangely no complaints form AA itself):
localhost:~ # systemctl status libvirtd ○ libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; preset: disabled) Active: inactive (dead) since Tue 2023-06-13 16:39:51 CEST; 6min ago Duration: 34.794s TriggeredBy: ● libvirtd.socket ● libvirtd-admin.socket ● libvirtd-ro.socket Docs: man:libvirtd(8) https://libvirt.org Process: 27017 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=0/SUCCESS) Main PID: 27017 (code=exited, status=0/SUCCESS) CPU: 193ms
Jun 13 16:39:16 localhost systemd[1]: Starting Virtualization daemon... Jun 13 16:39:17 localhost systemd[1]: Started Virtualization daemon. Jun 13 16:39:17 localhost libvirtd[27017]: libvirt version: 9.4.0 Jun 13 16:39:17 localhost libvirtd[27017]: hostname: localhost Jun 13 16:39:17 localhost libvirtd[27017]: internal error: template '/etc/ apparmor.d/libvirt/TEMPLATE.lxc' does not exist Jun 13 16:39:17 localhost libvirtd[27017]: no connection driver available for lxc:/// Jun 13 16:39:17 localhost libvirtd[27017]: End of file while reading data: Errore di input/output Jun 13 16:39:51 localhost systemd[1]: Stopping Virtualization daemon... Jun 13 16:39:51 localhost systemd[1]: libvirtd.service: Deactivated successfully. Jun 13 16:39:51 localhost systemd[1]: Stopped Virtualization daemon.
What is missing?
Thank you in advance.
Still in the dark, looked at the opensuse guide, all seems perfect... localhost:~ # modprobe kvm_amd localhost:~ # lsmod | grep kvm kvm_amd 200704 0 kvm 1306624 1 kvm_amd irqbypass 16384 1 kvm ccp 139264 1 kvm_amd But no way to get the connect running.