Problem starting VMs on native debian bullseye

I have a problem running VMs using LXD on debian bullseye. I’ve installed LXD by building it from source (so not using snap), but for some reason that I don’t understand I cannot start virtual machines. Containers work fine. However using snap, both containers and virtual machines work without a problem. The error message I get when trying to start a VM on debian bullseye using native LXD is:

qemu-system-aarch64: device requires 67108864 bytes, block backend provides 131072 bytes

Other details that might be helpful:

  • Running on raspberry pi 64bit (aarch64).
  • QEMU version 7.2 is used.
  • LXD version 5.11 is used.
  • The error happens on newly downloaded VM images, so there’s nothing special or weird about my VM setup.

Any help you can give to diagnose what the problem is would be greatly appreciated.

See Failed adding NIC netdev: Monitor is disconnected

I’m back looking at this again, many months later as it is still a problem for me. I cannot create VMs on a Raspberry PI. I think the problem is related to OVMF but I’m unsure how to configure that. Unfortunately the posted link is completely irrelevant in this case.

A lot has changed in the last few years. Have you thought about doing a fresh install?

Yes, I get the same error on a fresh install with updated OS and across several devices.

Have you tried the Incus packages from Zabbly?