mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] qemu: Version bump. 9.2.1 -> 9.2.2
@ 2025-02-26 17:58 Christian Melki
  0 siblings, 0 replies; only message in thread
From: Christian Melki @ 2025-02-26 17:58 UTC (permalink / raw)
  To: ptxdist

Minor bugfix release.
https://github.com/qemu/qemu/compare/v9.2.1...v9.2.2

Should be included ASAP as the QEMU folks seem
to have botched the 9.2.1 tarball.
The current hash of 9.2.1 is not valid any more.
The tarball has been replaced. A packaging issue
seems to have left a bunch of rust stuff in the old tarball.

* Regenerate patches. glibc 2.41 patch now included in the release.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 ...ed_attr-Do-not-define-for-glibc-2.41.patch | 43 -------------------
 ...symlinks-for-security_model-mapped-f.patch |  0
 patches/{qemu-9.2.1 => qemu-9.2.2}/series     |  4 +-
 3 files changed, 1 insertion(+), 46 deletions(-)
 delete mode 100644 patches/qemu-9.2.1/0050-sched_attr-Do-not-define-for-glibc-2.41.patch
 rename patches/{qemu-9.2.1 => qemu-9.2.2}/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch (100%)
 rename patches/{qemu-9.2.1 => qemu-9.2.2}/series (56%)

diff --git a/patches/qemu-9.2.1/0050-sched_attr-Do-not-define-for-glibc-2.41.patch b/patches/qemu-9.2.1/0050-sched_attr-Do-not-define-for-glibc-2.41.patch
deleted file mode 100644
index 056f680ed..000000000
--- a/patches/qemu-9.2.1/0050-sched_attr-Do-not-define-for-glibc-2.41.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 11 Oct 2024 12:31:40 -0700
-Subject: [PATCH] sched_attr: Do not define for glibc >= 2.41
-
-glibc 2.41+ has added [1] definitions for sched_setattr and sched_getattr functions
-and struct sched_attr. Therefore, it needs to be checked for here as well before
-defining sched_attr
-
-Define sched_attr conditionally on SCHED_ATTR_SIZE_VER0
-
-Fixes builds with glibc/trunk
-
-[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=21571ca0d70302909cf72707b2a7736cf12190a0;hp=298bc488fdc047da37482f4003023cb9adef78f8
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
-Cc: Laurent Vivier <laurent@vivier.eu>
-Cc: Paolo Bonzini <pbonzini@redhat.com>
----
- linux-user/syscall.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/linux-user/syscall.c b/linux-user/syscall.c
-index 1ce4c79784f0..a407d4a023e5 100644
---- a/linux-user/syscall.c
-+++ b/linux-user/syscall.c
-@@ -358,7 +358,8 @@ _syscall3(int, sys_sched_getaffinity, pid_t, pid, unsigned int, len,
- #define __NR_sys_sched_setaffinity __NR_sched_setaffinity
- _syscall3(int, sys_sched_setaffinity, pid_t, pid, unsigned int, len,
-           unsigned long *, user_mask_ptr);
--/* sched_attr is not defined in glibc */
-+/* sched_attr is not defined in glibc < 2.41 */
-+#ifndef SCHED_ATTR_SIZE_VER0
- struct sched_attr {
-     uint32_t size;
-     uint32_t sched_policy;
-@@ -371,6 +372,7 @@ struct sched_attr {
-     uint32_t sched_util_min;
-     uint32_t sched_util_max;
- };
-+#endif
- #define __NR_sys_sched_getattr __NR_sched_getattr
- _syscall4(int, sys_sched_getattr, pid_t, pid, struct sched_attr *, attr,
-           unsigned int, size, unsigned int, flags);
diff --git a/patches/qemu-9.2.1/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch b/patches/qemu-9.2.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
similarity index 100%
rename from patches/qemu-9.2.1/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
rename to patches/qemu-9.2.2/0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
diff --git a/patches/qemu-9.2.1/series b/patches/qemu-9.2.2/series
similarity index 56%
rename from patches/qemu-9.2.1/series
rename to patches/qemu-9.2.2/series
index f5ee289e6..a55ede383 100644
--- a/patches/qemu-9.2.1/series
+++ b/patches/qemu-9.2.2/series
@@ -1,8 +1,6 @@
 # generated by git-ptx-patches
 #tag:base --start-number 1
 #tag:upstream --start-number 1
-#tag:fixes --start-number 50
-0050-sched_attr-Do-not-define-for-glibc-2.41.patch
 #tag:ptxdist --start-number 100
 0100-9pfs-allow-real-symlinks-for-security_model-mapped-f.patch
-# 44fe44b2235aafe20131f1d915fe388c  - git-ptx-patches magic
+# 7c1abd8b5f5ef26378050b669cba203a  - git-ptx-patches magic
-- 
2.34.1




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-26 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26 17:58 [ptxdist] [PATCH] qemu: Version bump. 9.2.1 -> 9.2.2 Christian Melki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox