Your message dated Sat, 01 Feb 2025 16:21:05 +0000
with message-id <[email protected]>
and subject line Bug#1093823: fixed in libvirt 11.0.0-2
has caused the Debian Bug report #1093823,
regarding RISC-V: Host sysinfo extraction not supported on this platform
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1093823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093823
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libvirt
Version: 10.10.0-4
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu plucky ubuntu-patch

Dear Maintainer,

On riscv64 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.

In Ubuntu, the attached patch was applied to achieve the following:

  * d/p/u/virsysinfo-fix-RISC-V-detection.patch: Fix compiler macro to
    correctly detect RISC-V. (LP: #2095488)

Thanks for considering the patch.

Best regards

Heinrich

-- System Information:
Debian Release: trixie/sid
  APT prefers plucky
  APT policy: (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.0-9-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru libvirt-10.10.0/debian/patches/series 
libvirt-10.10.0/debian/patches/series
--- libvirt-10.10.0/debian/patches/series       2025-01-07 20:32:53.000000000 
+0100
+++ libvirt-10.10.0/debian/patches/series       2025-01-22 18:15:16.000000000 
+0100
@@ -14,6 +14,7 @@
 ubuntu/ovmf_paths.patch
 ubuntu/wait-for-qemu-kvm.patch
 ubuntu/swtpm-by-swtpm-user.patch
+ubuntu/virsysinfo-fix-RISC-V-detection.patch
 
 # Ubuntu Apparmor Changes
 ubuntu-aa/0020-virt-aa-helper-ubuntu-storage-paths.patch
diff -Nru 
libvirt-10.10.0/debian/patches/ubuntu/virsysinfo-fix-RISC-V-detection.patch 
libvirt-10.10.0/debian/patches/ubuntu/virsysinfo-fix-RISC-V-detection.patch
--- libvirt-10.10.0/debian/patches/ubuntu/virsysinfo-fix-RISC-V-detection.patch 
1970-01-01 01:00:00.000000000 +0100
+++ libvirt-10.10.0/debian/patches/ubuntu/virsysinfo-fix-RISC-V-detection.patch 
2025-01-22 18:14:32.000000000 +0100
@@ -0,0 +1,30 @@
+From: Heinrich Schuchardt <[email protected]>
+Date: Wed, 22 Jan 2025 12:12:30 +0100
+Subject: [PATCH 1/1] virsysinfo: fix RISC-V detection
+
+The correct compiler define to detect the RISC-V architecture is __riscv.
+
+Fixes: b902cfece0db ("virsysinfo: Try reading DMI table")
+Signed-off-by: Heinrich Schuchardt <[email protected]>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/2095488
+Origin: 
https://lists.libvirt.org/archives/list/[email protected]/thread/YJQSZWRNMQ5VQ5JXSSR4K2VNAKJUFEDP/
+---
+ src/util/virsysinfo.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/util/virsysinfo.c b/src/util/virsysinfo.c
+index d9b2b5e89e..b7413c3bf5 100644
+--- a/src/util/virsysinfo.c
++++ b/src/util/virsysinfo.c
+@@ -1254,7 +1254,7 @@ virSysinfoRead(void)
+     (defined(__x86_64__) || \
+      defined(__i386__) || \
+      defined(__amd64__) || \
+-     defined(__riscv__) || \
++     defined(__riscv) || \
+      defined(__mips__) || \
+      defined(__loongarch__))
+     return virSysinfoReadDMI();
+-- 
+2.47.1
+

--- End Message ---
--- Begin Message ---
Source: libvirt
Source-Version: 11.0.0-2
Done: Andrea Bolognani <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libvirt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrea Bolognani <[email protected]> (supplier of updated libvirt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 30 Jan 2025 23:47:39 +0100
Source: libvirt
Architecture: source
Version: 11.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Libvirt Maintainers 
<[email protected]>
Changed-By: Andrea Bolognani <[email protected]>
Closes: 1093823
Changes:
 libvirt (11.0.0-2) unstable; urgency=medium
 .
   [ Michael Biebl ]
   * [4e3c6ef] daemon-config-*: Use dpkg triggers for daemon restart
     - Ensures that libvirtd is only ever restarted once per apt invocation
 .
   [ Andrea Bolognani ]
   * [06d8044] daemon-driver-*: Restart daemon on install/remove
     - Makes newly-installed drivers usable right away
   * [12ebaf7] patches: Add backport/virsysinfo-fix-RISC-V-detection.patch
     - Closes: #1093823
Checksums-Sha1:
 03f1f7c7e1e5a390f5e2f6e053cbffe13f196834 7487 libvirt_11.0.0-2.dsc
 d7d848a92b567938aaf71cbb5e0d3ace0ef3ba45 96384 libvirt_11.0.0-2.debian.tar.xz
 85abcea285e50649e9f35ef8e14be6fb1148954d 13577 
libvirt_11.0.0-2_source.buildinfo
Checksums-Sha256:
 ab8aa6c1f6b034cc20c6558bc1a92750568d7a97b590f9e15428867e305dc568 7487 
libvirt_11.0.0-2.dsc
 d926f6d0a9b88655e64f2c60888749120f54ebfdf8910dd0f2fbf06dd3d4c6ca 96384 
libvirt_11.0.0-2.debian.tar.xz
 0af22f0d9f994e51d3d35a068cf0968685a77e910b5700ba1960de85e3a460fe 13577 
libvirt_11.0.0-2_source.buildinfo
Files:
 df206cee9916f8c7e51806c913430cea 7487 libs optional libvirt_11.0.0-2.dsc
 0769e3a4dd2f53f4ac9b43567951aa01 96384 libs optional 
libvirt_11.0.0-2.debian.tar.xz
 e2f9421ab78f32cf52b9c5e2fb489648 13577 libs optional 
libvirt_11.0.0-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEO48t9niVypx3EjLf954fxUKFg6wFAmeeOYMPHGVvZkBraXl1
a28ub3JnAAoJEPeeH8VChYOsSRkQAIgrumehNJ49rMNH5h6l/ndtTGSxo1iIoqY/
PUEVbd5cnlXY5nkPPmb82I4eM3r9KYja6DztktRVk6xE9RcyhUHdCGpry/K12Hlg
GFbwYnIbQg+f2vcO7ENFKAkgmNMafNiiZ07pcFFtVsO5fW4krX2F6lGYZxVK0Qyh
OWlx63ojQ722RJGT6rtC5pRmVJ/B1hAc+qUPNz8lETfFJMZo12eRUB/NIsI5LQdG
KdVsvqhmf+gkr4RILw/16GzZRweO0RqJOVuse6kgbn1tNoRvZ8c90+0/f51Eaq5v
5a9TFBEvnxvBlLPc/HxIix3myLIQdUQpEC6f3Gd6KT1ed1Y9cSGvu6JnFayd9RVH
3xM630zHbk2JUbOQa+p1cnGUfODY79QKR7IlMqhjSpbRZejuQ6F4fGhDX6DfU433
EwcuwLnsf8CMR7Uswb0w5Jrq7h0iaimHRTVtZ79i1zuYDdUZ1YHlFdv9oWgMS40d
6yTajs5vYPotKw7QG1YSIYMAaAYhT1cZ9bVYO3wWwnMrn3449ATqQ8KMuMvpPAPm
Jx9BfFeBV+ZpNmBfpiW251fUwVGoJ8hV21BvXMAIHsqCctuK/g6LAEmTZ/beFClG
Gb/9QYEjjNJV8yJo+4xsEQ/+ts0ZTfQuADtUNYWjNkJY41o2QFavHONeYN348CW/
qB8ieZNc
=3BHB
-----END PGP SIGNATURE-----

Attachment: pgpsf1DCW7Sm9.pgp
Description: PGP signature


--- End Message ---

Reply via email to