lima-vm / lima-vm/lima

Test for QEMU version 7 or higher doesn't work on Enterprise Linux (RHEL, ...)

Open
#2,392 7 comments 0 reactions 0 assignees View on GitHub
component/qemu enhancement expert
Dominant language
Go
Stars
21.9k
Forks
957
Avg merge
2d 6h
Merged PRs (30d)
53

Description

The following test doesn't work well for Enterprise Linux distributions:

https://github.com/lima-vm/lima/blob/70e681b1f3c942412eae43917dd34c41b8f8aab2/pkg/qemu/qemu.go#L358

```
$ qemu-system-aarch64 -version
QEMU emulator version 8.0.0 (qemu-kvm-8.0.0-16.el9_3.3)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
$ qemu-system-aarch64 -machine help
Supported machines are:
virt RHEL 9.2.0 ARM Virtual Machine (alias of virt-rhel9.2.0)
virt-rhel9.2.0 RHEL 9.2.0 ARM Virtual Machine (default)
virt-rhel9.0.0 RHEL 9.0.0 ARM Virtual Machine
none empty machine
```

There is no "-7.0" string in `qemu-system-aarch64 -machine help`...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.