KVM problem to start virtual machines

This thread is 6 months old and is probably totally unrelated:

https://www.reddit.com/r/VFIO/comments/mihb5j/systemd248_breaks_vm_boot_libvirt/

However, it does have some ideas not proposed before. One is to add this line to the kernel boot parameters:

systemd.unified_cgroup_hierarchy=0

Then:

grub-mkconfig -o /boot/grub/grub.cfg

or:

update-grub

Then reboot.

The Garuda default is:

systemd.unified_cgroup_hierarchy=1

Just thought I’d mention this post as it was preventing the startup of the VM’s. VM’s are not my thing, so I’m just throwing this out there on the remote chance it might help. I guess it could be a possibility that something recently has become incompatible with the change to cgroup v2.

https://wiki.archlinux.org/title/cgroups

Edit:

My suggestion to change to the cgroups load line GRUB_CMDLINE_LINUX_DEFAULT= in /etc/default/grub did solve a freezing issue when running VM’s for a user just now. So, it may very well be worth a try.

8 Likes