From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH v2] qemu: Version bump. 9.2.1 -> 9.2.2
Date: Wed, 26 Feb 2025 20:51:04 +0100 [thread overview]
Message-ID: <20250226195104.710448-1-christian.melki@t2data.com> (raw)
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 +-
rules/qemu.make | 4 +-
4 files changed, 3 insertions(+), 48 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
diff --git a/rules/qemu.make b/rules/qemu.make
index 504453143..a3c0b3d9f 100644
--- a/rules/qemu.make
+++ b/rules/qemu.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_QEMU) += qemu
#
# Paths and names
#
-QEMU_VERSION := 9.2.1
-QEMU_MD5 := c33f4ef002f3d8d73f07079c9b4a157b
+QEMU_VERSION := 9.2.2
+QEMU_MD5 := 417dc130a89238ba5347ced224497ee1
QEMU := qemu-$(QEMU_VERSION)
QEMU_SUFFIX := tar.xz
QEMU_URL := https://download.qemu.org/$(QEMU).$(QEMU_SUFFIX)
--
2.34.1
next reply other threads:[~2025-02-26 19:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-26 19:51 Christian Melki [this message]
2025-03-07 9:49 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250226195104.710448-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox