I've recently had problems using KVM/QEMU, but I managed to solve the issue by following tbg's possible solution here: KVM/QEMU cgroup.controllers - No such file or directory
The solution actually worked, and I am now able to start VMs using QEMU, however, since I changed the value of " systemd.unified_cgroup_hierarchy" from 1 to 0, the memavaild.service Daemon fails to start:
× memavaild.service - Daemon that keeps amount of available memory Loaded: loaded (/usr/lib/systemd/system/memavaild.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2021-10-17 14:35:35 BST; 19min ago Docs: man:memavaild(8) https://github.com/hakavlad/memavaild Process: 14935 ExecStart=/usr/bin/memavaild -c /etc/memavaild.conf (code=exited, status=1/FAILURE) Main PID: 14935 (code=exited, status=1/FAILURE) Oct 17 14:35:35 PC systemd: memavaild.service: Scheduled restart job, restart counter is at 5. Oct 17 14:35:35 PC systemd: Stopped Daemon that keeps amount of available memory. Oct 17 14:35:35 PC systemd: memavaild.service: Start request repeated too quickly. Oct 17 14:35:35 PC systemd: memavaild.service: Failed with result 'exit-code'. Oct 17 14:35:35 PC systemd: Failed to start Daemon that keeps amount of available memory.
I have tried:
systemctl enable --now memavaild.service
systemctl restart memavaild.service
I had no success with these two. Any idea of how I could fix this?