Public bug reported:

[ 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://lists.libvirt.org/archives/list/de...@lists.libvirt.org/thread/YJQSZWRNMQ5VQ5JXSSR4K2VNAKJUFEDP/

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

** Affects: libvirt (Ubuntu)
     Importance: Undecided
     Assignee: Heinrich Schuchardt (xypron)
         Status: New

** Affects: libvirt (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: libvirt (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Affects: libvirt (Ubuntu Plucky)
     Importance: Undecided
     Assignee: Heinrich Schuchardt (xypron)
         Status: New

** Summary changed:

- RISC-V: Host sysinfo extraction not supported on this platform
+ [SRU] RISC-V: Host sysinfo extraction not supported on this platform

** Also affects: libvirt (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: libvirt (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Also affects: libvirt (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Changed in: libvirt (Ubuntu Plucky)
     Assignee: (unassigned) => Heinrich Schuchardt (xypron)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2095488

Title:
  [SRU] RISC-V: Host sysinfo extraction not supported on this platform

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2095488/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to