Skip to content

Ability to run aarch64 guests on Linux without KVM #3156

Open
@msgilligan

Description

@msgilligan

Description

It should be possible to run aarch64 guest VMs on aarch64 Linux without support for KVM. There should be a way to set the QEMU options to support this. This would allow running Lima on ubuntu-24.04-arm GitHub Actions runners and also inside aarch64 Linux Lima instances on pre-M3 macOS systems.

Here is an example GitHub Actions workflow that should work: https://github.com/nixos-lima/nixos-lima-config-sample/blob/b02a4c9cffaeb646feda5ad8940c9ade7599cb32/.github/workflows/ubuntu-arm.yml
This job fails with the following message in the log:

{"level":"debug","msg":"qemu[stderr]: Could not access KVM kernel module: No such file or directory","time":"2025-01-26T22:10:43Z"}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions