You are not logged in.

#1 2022-05-12 13:38:20

Nighae
Member
Registered: 2022-05-12
Posts: 2

virt-manager: QEMU/KVM - connecting...

virt-manager can't seem to connect to qemu:///system but i don't know what could be really causing it or how to fix it. I have both gpu and cpu from amd

i installed the following packages

sudo pacman -S qemu virt-manager virt-viewer vde2 bridge-utils openbsd-netcat libguestfs dnsmasq edk2-ovmf iptables-nft dmidecode

my user is part of the kvm,libvirt,libvirt-qemu,qemu groups.

/etc/libvirt/libvirtd.conf and /etc/libvirt/qemu.conf are edited exactly in the way the virt-manager archwiki page instruct me to do.

here below is the output of various command from the following pages https://wiki.archlinux.org/title/Virt-Manager https://wiki.archlinux.org/title/KVM


LC_ALL=C lscpu | grep Virtualization

Virtualization:                  AMD-V

zgrep CONFIG_KVM /proc/config.gz

CONFIG_KVM_GUEST=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_KVM_XFER_TO_GUEST_WORK=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_KVM_AMD_SEV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_MMU_AUDIT=y
CONFIG_KVM_EXTERNAL_WRITE_TRACKING=y

lsmod | grep kvm

kvm_amd               163840  0
kvm                  1081344  1 kvm_amd
irqbypass              16384  1 kvm
ccp                   126976  1 kvm_amd

sudo systemctl status libvirtd

● libvirtd.service - Virtualization daemon
     Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: d>
     Active: active (running) since Thu 2022-05-12 12:49:26 UTC; 26min ago
TriggeredBy: ● libvirtd-admin.socket
             ● libvirtd.socket
             ● libvirtd-ro.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 639 (libvirtd)
      Tasks: 4 (limit: 32768)
     Memory: 28.5M
        CPU: 116ms
     CGroup: /system.slice/libvirtd.service
             └─ 639 /usr/bin/libvirtd --timeout 120

May 12 12:49:25 archdesk systemd[1]: Starting Virtualization daemon...
May 12 12:49:26 archdesk systemd[1]: Started Virtualization daemon.

i did a lot of research before resolving to posting but i am sure i am missing something maybe obvious.

Last edited by Nighae (2022-05-12 13:39:04)

Offline

#2 2022-05-12 13:59:45

MSMHRO
Member
Registered: 2010-05-06
Posts: 13

Re: virt-manager: QEMU/KVM - connecting...

I had a same problem after update. It solved by changing as below.

vi /etc/libvirt/libvirtd.conf
unix_sock_group = "libvirt"
unix_sock_rw_perms = "0770"
auth_unix_rw = "none"

Hope it works...

Offline

#3 2022-05-12 14:11:41

Nighae
Member
Registered: 2022-05-12
Posts: 2

Re: virt-manager: QEMU/KVM - connecting...

sadly it does not work and i am on a fresh install. Thanks for the suggestion

Offline

Board footer

Powered by FluxBB