Asahi Linux M1 - struggling with VMs

Abiola from Colima I asume gave me the hint to run all kind of linux on an Apple M1 device:

So far its working great, but I struggle with KVM/QEMU related stuff.

While in Incus I run into an issue like this:

sudo incus launch images:alpine/3.23 a1 --vm --verbose
Launching a1
Error: Failed instance creation: Failed creating instance record: Instance type "virtual-machine" is not supported on this server: QEMU failed to run feature checks

With virt-manager it looks a bit different, but maybe its the same?

Looking at the error messages its very likely the have different problems, but who knows maybe both missing some EFI stuff?

The two problems are unrelated.
The problem with Incus is that Colima spawns a virtual machine within which Incus is run. Because M1 Macs don’t support nesting, you can’t run a VM within the Colima VM. Maybe it’s not the problem you’re facing, as I don’t recognize this specific error message…
For the second one, you’ll have to find matching UEFI binaries (can’t help you with that one).

Which distro are you running? I assume you are on Asahi on M1/M2

If you are using Ubuntu or Debian, ensure that you install Incus from Zabbly packages.

Virt-Manager is not happy on Ubuntu, but both Incus and Virt-Manager works fine on Debian.

There are multiple quirks I had to deal to get Incus to work reliably on Fedora Asahi, and I was unable to get Incus to launch virtual machines at all.

In short, from my own experience on Asahi on M1.

  • Fedora - Incus only run containers, Virt-Manager works fine.
  • Ubuntu - Incus runs containers and VMs (if installed via Zabbly), Virt-Manager has issues.
  • Debian - Incus runs containers and VMs (if installed via Zabbly), Virt-Manager works fine.

But if you’re running Incus on macOS with Colima, then you need an M3 or newer device to launch virtual machines.

I went with asahi ALarm (as I went from scared of Arch Linux to Just give me an up to date Desktop Environment).

@abiosoft as you are running Debian, can you let me know which version of KDE is there? Also is COSMIC there (like to try that from time to time :))

@bensmrs Yeah it is sad Nesting isn’t a thing on M1/2.