[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] 2 commits: patches: Add backport/virsysinfo-fix-RISC-V-detection.patch

Andrea Bolognani (@abologna) gitlab at salsa.debian.org
Sat Feb 1 14:45:36 GMT 2025



Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt


Commits:
12ebaf78 by Andrea Bolognani at 2025-01-30T23:32:33+01:00
patches: Add backport/virsysinfo-fix-RISC-V-detection.patch

Closes: #1093823

- - - - -
3368888a by Andrea Bolognani at 2025-01-30T23:55:14+01:00
Document changes and release 11.0.0-2

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/backport/virsysinfo-fix-RISC-V-detection.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,17 @@
+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
+
+ -- Andrea Bolognani <eof at kiyuko.org>  Thu, 30 Jan 2025 23:47:39 +0100
+
 libvirt (11.0.0-1) unstable; urgency=medium
 
   * [e2a1251] New upstream version 11.0.0


=====================================
debian/patches/backport/virsysinfo-fix-RISC-V-detection.patch
=====================================
@@ -0,0 +1,32 @@
+From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
+Date: Wed, 22 Jan 2025 12:20:08 +0100
+Subject: 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 <heinrich.schuchardt at canonical.com>
+Reviewed-by: Andrea Bolognani <abologna at redhat.com>
+(cherry picked from commit 3e9440dbcb39846c96ada55bd29ff6ae9fff6d93)
+
+Bug-Debian: https://bugs.debian.org/1093823
+
+Forwarded: not-needed
+Origin: https://gitlab.com/libvirt/libvirt/-/commit/3e9440dbcb39846c96ada55bd29ff6ae9fff6d93
+---
+ 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 d9b2b5e..b7413c3 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();


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+backport/virsysinfo-fix-RISC-V-detection.patch
 debian/Debianize-libvirt-guests.patch
 debian/apparmor_profiles_local_include.patch
 debian/Use-sensible-editor-by-default.patch



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/06d804468884ee50055c334c6be33e54f61eacd5...3368888a070b01db05814dcc45d61fc2081d7470

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/compare/06d804468884ee50055c334c6be33e54f61eacd5...3368888a070b01db05814dcc45d61fc2081d7470
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20250201/4c07385b/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list