VMs do not start on LXD 4.10/4.11 on aarch64 with kernel 5.10

,

Some further info:

This does not happen on Linux 5.11, searching through 5.11 log there’s another commit metioning PMU registers:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.11&id=11663111cd49b4c6dd27479774e420f139e4c447

However this one is not backported into 5.10 tree.

Maybe this is where the problem lies, as QEMU will see the absent PMU registers while KVM doesn’t.