Description of problem:I went to install QEMU/KVM on my kali linux laptop
its being ran on bare metal ive followed all installations correctly read online cant find anything help except for a patcher from here https://github.com/patchew-project/libvirt i dont know how to implement it kinda relatively new to kali linux but not linux in general ima ******* idiot.


Version-Release number of selected component (if applicable):mdevctl 1.1.0 libvirtd 8.0.0 virt-manager 4.0.0


How reproducible:

Below are the exact commands i used to try and set up my virtual machine.


$ sudo apt install virt-manager qemu-kvm libvirt-clients bridge-utils libvirt-daemon-system

I also ran kvm-ok to check if my computer was compatible and ofcourse it was my number was 8 so it was over 1 meaning it can run kvm .



Steps to Reproduce:

sudo systemctl status libvirtd
● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/system/libvirtd.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2022-03-22 21:54:45 EDT; 1h 32min ago
TriggeredBy: ● libvirtd.socket
● libvirtd-admin.socket
● libvirtd-ro.socket
Docs: man:libvirtd(8)
https://libvirt.org
Main PID: 707 (libvirtd)
Tasks: 18 (limit: 32768)
Memory: 30.6M
CPU: 180ms
CGroup: /system.slice/libvirtd.service
└─707 /usr/sbin/libvirtd

Mar 22 21:54:44 LAPTOP-4OL7TDP5 systemd[1]: Starting Virtualization daemon...
Mar 22 21:54:45 LAPTOP-4OL7TDP5 systemd[1]: Started Virtualization daemon.
Mar 22 21:54:46 LAPTOP-4OL7TDP5 libvirtd[707]: libvirt version: 8.0.0, package: 1 (Andrea Bolognani <eof@kiyuko.org> Sat, 22 Jan 2022 19:22:57 +0100)
Mar 22 21:54:46 LAPTOP-4OL7TDP5 libvirtd[707]: hostname: LAPTOP-4OL7TDP5
Mar 22 21:54:46 LAPTOP-4OL7TDP5 libvirtd[707]: internal error: failed to query mdevs from mdevctl: Error: No such file or directory (os error 2)


This is the problem i am getting also when i try to list the uuids with the command:$ mdevctl list

i get absolutely no results at all even tho my system is installed with it properly it came with kali linux.

Someone help me im not trying to go back to virtualbox or vmware shitty *** slow virtualization.

Specs:

OS: Kali GNU/Linux Rolling x86_64
Host: TUF Gaming FX505DT_FX505DT 1.0
CPU: AMD Ryzen 7 3750h with Radeon Vega Mobile Gfx (8) @ 2.300GHz
GPU:NVIDIA Geforce GTX 1650 Mobile / Max-Q
GPU:AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
Memory:2481Mib / 7448Mib