Skip to content

Please support KVM on ARM runners #147

@bdrung

Description

@bdrung

Type of issue

  • Error when running a workflow.
  • Request for additional tools or software for an existing image.
  • Request for a new image, Linux or Windows.
  • Other

Describe the issue
We like to use QEMU with KVM to speed up the dracut tests on arm64. Here you can see the current arm64 dracut tests: dracut-ng/dracut-ng#1915

To Reproduce

Use a CI job like this:

jobs:
    arm64:
        name: KVM on arm64
        runs-on: ubuntu-24.04-arm
        timeout-minutes: 1
        container:
            image: ghcr.io/dracut-ng/ubuntu:devel-arm
            options: '--device=/dev/kvm --privileged'
        steps:
          - test -c /dev/kvm
          - /usr/bin/qemu-system-arm64 -enable-kvm -cpu host -M virt

This job should start QEMU and not fail to find /dev/kvm or fail to use it:

qemu-system-arm64: Could not access KVM kernel module: No such file or directory
qemu-system-arm64: failed to initialize kvm: No such file or directory

Expected behavior
I wish /dev/kvm would be present in the container and usable.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • container: any (e.g. ubuntu:devel)

Additional context

PR for dracut: dracut-ng/dracut-ng#1915

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions