Host sysinfo extraction not supporte…” : Bugs : libvirt package : Ubuntu

[ Impact ]

On riscv64 Ubuntu 24.05 the libvirtd.service shows an error

Host sysinfo extraction not supported on this platform: Function not implemented
libvirtd.service: Deactivated successfully.

This is due to a bug in src/util/virsysinfo.c where the wrong symbol is used to detect the RISC-V architecture.

The bug makes virt-manager unusable on RISC-V.

See upstream patch
https://

On Ubuntu 24.04 the check for virSysinfoRead() is completely missing. So upstream commit b902cfece0db (“virsysinfo: Try reading DMI table”) needs to be applied first.

As a partner board SiFive HiFive Premier P550 that runs on Ubuntu Noble and provides the hypervisor extension is available we should backport the solution.

[ Test Plan ]

Install the libvirt-daemon package and check the status of libvirtd.service both on amd64 and riscv64.

[ Where problems could occur ]

The change only changes if SMBIOS information is read on RISC-V but an incorrect change might impact the detection of other architectures. Therefore test on amd64, too.

[ Other Info ]

n/a

Read more here: Source link