Page MenuHomeVyOS Platform

ARM64: hvinfo can’t detect the hypervisor
Open, NormalPublicBUG

Description

System type in 'show version' output defaults to bare metal since no hypervisor detected. Tested on AWS c7g.large instance:

vyos@VyOS-for-Smoke-Tests:~$ sh ver
Version:          VyOS 2026.02.27-0814-rolling
...
Architecture:     aarch64
Boot via:         installed image
System type:      bare metal
Secure Boot:      disabled
Hardware vendor:  Amazon EC2
Hardware model:   c7g.large

Details

Version
2026.02.27-0814-rolling
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

It is expected to assume that this is bare metal if we cannot detect any hypervisor
https://github.com/vyos/vyos-1x/blob/ef710a5acbd7af9f60ba63716912b0c9a20f5329/python/vyos/version.py#L78-L81

What are you expecting here?

amd64:

Version:          VyOS 1.5-rolling-202602271438
Release train:    current
Release flavor:   aws


Built on:         Fri 27 Feb 2026 14:38 UTC
Build UUID:       66abc37e-764e-43d2-bcf9-bdaff8e3f134
Build commit ID:  524b89e945844e

Architecture:     x86_64
Boot via:         installed image
System type:      KVM guest
Secure Boot:      n/a (BIOS)

Hardware vendor:  Amazon EC2
Hardware model:   c5.4xlarge

seems like hvinfo has limited detection of hypervisors in dmi data - https://github.com/vyos/hvinfo/blob/current/src/hypervisor_check.ads#L85

Viacheslav triaged this task as Normal priority.Mar 3 2026, 10:41 AM