Skip to content

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

Open
@AmedeeBulle

Description

@AmedeeBulle

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

f.VersionGEQ7 = strings.Contains(string(f.MachineHelp), "-7.0")

$ 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...

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