I am trying to learn VM-QEMU and I get this error: “Warning: KVM is not available. This may mean the KVM package is not installed, or the KVM kernel modules are not loaded. Your virtual machines may perform poorly.”
doas pacman -S qemu virt-manager virt-viewer dnsmasq vde2 bridge-utils openbsd-netcat
doas systemctl enable --now libvirtd
doas usermod -aG libvirt $USER
I have run these commands without issues. My BIOS has virtualization enabled and I think the following commands state that everything is in place.
lsmod | grep kvm
kvm_amd 176128 0
kvm 1150976 1 kvm_amd
irqbypass 16384 1 kvm
ccp 135168 1 kvm_amd
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_EXTERNAL_WRITE_TRACKING=y
Any ideas what might be wrong? I have Virtualbox running 2 VM’s for me. Maybe there is a conflict?