open this bug for collaboration, mainly tracking for enabling support for riscv arch Reproducible: Always
build app-emulation/libvirt-8.5.0 with USE="bash-completion caps libssh libvirtd nls policykit qemu udev virt-network zfs" has following run-time warning, which show log from libvirtd: Jul 21 18:47:39 unmatch8 systemd[1]: Starting Virtualization daemon... Jul 21 18:47:39 unmatch8 systemd[1]: Started Virtualization daemon. Jul 21 18:47:39 unmatch8 libvirtd[1388776]: libvirt version: 8.5.0 Jul 21 18:47:39 unmatch8 libvirtd[1388776]: hostname: unmatch8 Jul 21 18:47:39 unmatch8 libvirtd[1388776]: Host sysinfo extraction not supported on this platform: Function not implemented Jul 21 18:47:39 unmatch8 libvirtd[1388776]: this function is not supported by the connection driver: 'riscv64' architecture is not supported by CPU driver
Yeah, upstream doesn't have much support for RISCV yet. The first error message ("Host sysinfo ...") means that querying sysinfo won't work (virConnectGetSysinfo() API or its virsh equivalent: virsh sysinfo) AND some domain configurations won't work either (<os> <smbios mode='host'/> </os>). The second error message ("this function is not supported ...") means that libvirt lacks functions to query various processor features.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b54e4e899ff16c9727b7701ca5f6aeee34e0f9 commit 82b54e4e899ff16c9727b7701ca5f6aeee34e0f9 Author: Yu Gu <guyu2876@gmail.com> AuthorDate: 2022-07-26 06:37:56 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2022-07-26 06:51:10 +0000 profiles/arch/riscv: Mask USE=xen,rbd on app-emulation/libvirt Bug: https://bugs.gentoo.org/859703 Signed-off-by: Yu Gu <guyu2876@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/26598 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> profiles/arch/riscv/package.use.mask | 4 ++++ 1 file changed, 4 insertions(+)